TIMBOVILL commited on
Commit
5a8983c
1 Parent(s): 66da446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -1549,12 +1549,13 @@ with gr.Blocks(theme=theme) as app:
1549
  dropbox = gr.File(label="Drag your audio file and click refresh.")
1550
  with gr.Row():
1551
  record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath", visible=False)
1552
- # with gr.Row():
1553
- # input_audio0 = gr.Dropdown(
1554
- # label="Choose the audio file.",
1555
- # value="./audios/Test_Audio.mp3",
1556
- # choices=audio_files
1557
- # )
 
1558
  dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio0])
1559
  dropbox.upload(fn=change_choices2, inputs=[], outputs=[input_audio0])
1560
  refresh_button2 = gr.Button("Refresh", variant="secondary", size='sm')
 
1549
  dropbox = gr.File(label="Drag your audio file and click refresh.")
1550
  with gr.Row():
1551
  record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath", visible=False)
1552
+ with gr.Row():
1553
+ input_audio0 = gr.Dropdown(
1554
+ label="Choose the audio file.",
1555
+ value="./audios/Test_Audio.mp3",
1556
+ choices=audio_files,
1557
+ visible=False,
1558
+ )
1559
  dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio0])
1560
  dropbox.upload(fn=change_choices2, inputs=[], outputs=[input_audio0])
1561
  refresh_button2 = gr.Button("Refresh", variant="secondary", size='sm')