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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1542,19 +1542,19 @@ with gr.Blocks(theme=theme) as app:
1542
  inputs=[sid0],
1543
  outputs=[spk_item],
1544
  )
1545
- but0 = gr.Button("Convert", variant="primary", size='xl')
1546
  with gr.Row():
1547
  with gr.Column():
1548
  with gr.Row():
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')
 
1542
  inputs=[sid0],
1543
  outputs=[spk_item],
1544
  )
1545
+ but0 = gr.Button("Convert", variant="primary")
1546
  with gr.Row():
1547
  with gr.Column():
1548
  with gr.Row():
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')