Blane187 commited on
Commit
f571c10
1 Parent(s): d052f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def get_training_info(audio_file):
73
  return f'You should use the **{pretrain}** pretrain with **{epochs}** epochs at **{sample_rate/1000}kHz** sample rate. Good luck with your training!'
74
 
75
  with gr.Blocks() as demo:
76
- audio_p = gr.Audio(source="upload", type="filepath", label="Your Audio here")
77
  audio_q = gr.Textbox(label="Your Output here")
78
  wtar = gr.Button("Start!")
79
  wtar.click(get_training_info, inputs=[audio_p], outputs=[audio_q])
 
73
  return f'You should use the **{pretrain}** pretrain with **{epochs}** epochs at **{sample_rate/1000}kHz** sample rate. Good luck with your training!'
74
 
75
  with gr.Blocks() as demo:
76
+ audio_p = gr.Audio(type="filepath", label="Your Audio here")
77
  audio_q = gr.Textbox(label="Your Output here")
78
  wtar = gr.Button("Start!")
79
  wtar.click(get_training_info, inputs=[audio_p], outputs=[audio_q])