peb-peb commited on
Commit
c28084b
1 Parent(s): b2ae017

update gradio UI

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.File(label="Upload a Audio file (.wav)", file_count=1)
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])