brindhamanick commited on
Commit
6145c50
·
verified ·
1 Parent(s): 6184fef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1981,7 +1981,8 @@ def GradioSetup(UTheme=gr.themes.Soft()):
1981
  with gr.Row():
1982
  with gr.Column(): # First column for audio-related inputs
1983
  dropbox = gr.File(label=i18n("Drag your audio here:"))
1984
- record_button=gr.Audio(source="microphone", label=i18n("Or record an audio:"), type="filepath")
 
1985
  input_audio0 = gr.Textbox(
1986
  label=i18n("Manual path to the audio file to be processed"),
1987
  value=os.path.join(now_dir, "audios", "someguy.mp3"),
@@ -2948,7 +2949,7 @@ def GradioSetup(UTheme=gr.themes.Soft()):
2948
  butnone = gr.Button(i18n("Merge"), variant="primary").style(full_width=True)
2949
 
2950
  vc_output1 = gr.Textbox(label=i18n("Output information:"))
2951
- vc_output2 = gr.Audio(label=i18n("Export audio (click on the three dots in the lower right corner to download)"), type='filepath')
2952
 
2953
  dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio1])
2954
  dropbox.upload(fn=change_choices_fix, inputs=[], outputs=[input_audio1])
 
1981
  with gr.Row():
1982
  with gr.Column(): # First column for audio-related inputs
1983
  dropbox = gr.File(label=i18n("Drag your audio here:"))
1984
+
1985
+ record_button=gr.Audio(source=["microphone"], label=("Or record an audio:"), type="filepath")
1986
  input_audio0 = gr.Textbox(
1987
  label=i18n("Manual path to the audio file to be processed"),
1988
  value=os.path.join(now_dir, "audios", "someguy.mp3"),
 
2949
  butnone = gr.Button(i18n("Merge"), variant="primary").style(full_width=True)
2950
 
2951
  vc_output1 = gr.Textbox(label=i18n("Output information:"))
2952
+ vc_output2 = gr.Audio(label="Export audio (click on the three dots in the lower right corner to download)", type='filepath')
2953
 
2954
  dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio1])
2955
  dropbox.upload(fn=change_choices_fix, inputs=[], outputs=[input_audio1])