Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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])
|