Blane187 commited on
Commit
f7a2d31
1 Parent(s): 0a65394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)