Spaces:
Runtime error
Runtime error
the typos :(
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def get_training_info(audio_file):
|
|
30 |
if min_duration <= duration < max_duration:
|
31 |
break
|
32 |
else:
|
33 |
-
gr.Info('Duration is not within the specified range.'
|
34 |
|
35 |
return f'You should use the **{pretrain}** pretrain with **{epochs}** epochs at **{sample_rate/1000}kHz** sample rate. Good luck with your training!'
|
36 |
|
@@ -41,7 +41,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue="sky", secondary_hue="blue"), ti
|
|
41 |
audio_q = gr.Textbox(scale=3, label="Your Output here")
|
42 |
wtar.click(get_training_info, inputs=[audio_p], outputs=[audio_q])
|
43 |
with gr.Tab("Credits"):
|
44 |
-
gr.Markdown("### This code Originaly by [TheStinger](https://huggingface.co/TheStinger)")
|
45 |
|
46 |
with gr.Tab('Tutorial'):
|
47 |
gr.Markdown(
|
|
|
30 |
if min_duration <= duration < max_duration:
|
31 |
break
|
32 |
else:
|
33 |
+
gr.Info('Duration is not within the specified range.')
|
34 |
|
35 |
return f'You should use the **{pretrain}** pretrain with **{epochs}** epochs at **{sample_rate/1000}kHz** sample rate. Good luck with your training!'
|
36 |
|
|
|
41 |
audio_q = gr.Textbox(scale=3, label="Your Output here")
|
42 |
wtar.click(get_training_info, inputs=[audio_p], outputs=[audio_q])
|
43 |
with gr.Tab("Credits"):
|
44 |
+
gr.Markdown("### This code Originaly by [TheStinger](https://huggingface.co/TheStinger)<br> edit by me (Blane187)")
|
45 |
|
46 |
with gr.Tab('Tutorial'):
|
47 |
gr.Markdown(
|