Update easyUI.py
Browse files
easyUI.py
CHANGED
@@ -65,15 +65,7 @@ with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="emerald",neutral_h
|
|
65 |
choices=paths_for_files('audios'), # Only show absolute paths for audio files ending in .mp3, .wav, .flac or .ogg
|
66 |
allow_custom_value=True
|
67 |
)
|
68 |
-
|
69 |
-
audio_player = gr.Audio()
|
70 |
-
input_audio0.change(
|
71 |
-
inputs=[input_audio0],
|
72 |
-
outputs=[audio_player],
|
73 |
-
fn=lambda path: {"value":path,"__type__":"update"} if os.path.exists(path) else None,
|
74 |
-
dwnl_button = gr.Button("vocal_remove"),
|
75 |
-
dwnl_button.click(fn=vocal_remove,inputs=[input_audio0],outputs=[url])
|
76 |
-
)
|
77 |
with gr.Column():
|
78 |
with gr.Accordion("Change Index", open=False):
|
79 |
file_index2 = gr.Dropdown(
|
|
|
65 |
choices=paths_for_files('audios'), # Only show absolute paths for audio files ending in .mp3, .wav, .flac or .ogg
|
66 |
allow_custom_value=True
|
67 |
)
|
68 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
with gr.Column():
|
70 |
with gr.Accordion("Change Index", open=False):
|
71 |
file_index2 = gr.Dropdown(
|