update gradio UI
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ with gr.Blocks() as demo:
|
|
17 |
with gr.Box():
|
18 |
with gr.Row():
|
19 |
with gr.Column():
|
20 |
-
audio_file = gr.
|
21 |
number_of_speakers = gr.Number(label="Number of Speakers", value=2)
|
22 |
with gr.Row():
|
23 |
btn_clear = gr.ClearButton(value="Clear", components=[audio_file, number_of_speakers])
|
|
|
17 |
with gr.Box():
|
18 |
with gr.Row():
|
19 |
with gr.Column():
|
20 |
+
audio_file = gr.Audio(label="Upload an Audio file (.wav)", source="upload", type="filepath")
|
21 |
number_of_speakers = gr.Number(label="Number of Speakers", value=2)
|
22 |
with gr.Row():
|
23 |
btn_clear = gr.ClearButton(value="Clear", components=[audio_file, number_of_speakers])
|