Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,14 +35,14 @@ def get_training_info(audio_file):
|
|
35 |
|
36 |
return f'You should use the **{pretrain}** pretrain with **{epochs}** epochs at **{sample_rate/1000}kHz** sample rate. Good luck with your training!'
|
37 |
|
38 |
-
with gr.Blocks() as demo:
|
39 |
with gr.Tab("Main Settings"):
|
40 |
audio_p = gr.Audio(type="filepath", label="Your Audio here")
|
41 |
wtar = gr.Button("Start!")
|
42 |
audio_q = gr.Textbox(label="Your Output here", scale=3)
|
43 |
wtar.click(get_training_info, inputs=[audio_p], outputs=[audio_q])
|
44 |
with gr.Tab("Credits"):
|
45 |
-
gr.Markdown(" This code Originaly by [TheStinger](https://huggingface.co/TheStinger)")
|
46 |
|
47 |
|
48 |
demo.launch(debug=True)
|
|
|
35 |
|
36 |
return f'You should use the **{pretrain}** pretrain with **{epochs}** epochs at **{sample_rate/1000}kHz** sample rate. Good luck with your training!'
|
37 |
|
38 |
+
with gr.Blocks(theme=gr.themes.Base(primary_hue="sky", secondary_hue="blue"), title="RVC TRAINING HELPER") as demo:
|
39 |
with gr.Tab("Main Settings"):
|
40 |
audio_p = gr.Audio(type="filepath", label="Your Audio here")
|
41 |
wtar = gr.Button("Start!")
|
42 |
audio_q = gr.Textbox(label="Your Output here", scale=3)
|
43 |
wtar.click(get_training_info, inputs=[audio_p], outputs=[audio_q])
|
44 |
with gr.Tab("Credits"):
|
45 |
+
gr.Markdown("### This code Originaly by [TheStinger](https://huggingface.co/TheStinger)")
|
46 |
|
47 |
|
48 |
demo.launch(debug=True)
|