Blane187 commited on
Commit
848e5d3
1 Parent(s): 26ceaf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -234,8 +234,8 @@ def upload_model(index_file, pth_file, model_name):
234
  MODELS.append({"model": pth_file, "index": index_file, "model_name": model_name})
235
  return "Uploaded!"
236
 
237
- with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose"), title="Ilaria RVC 💖") as app:
238
- gr.Markdown("## Animalese RVC 💖")
239
  gr.Markdown("**this project is forked of Ilaria RVC!**")
240
  with gr.Tab("Inference"):
241
  text_input = gr.Textbox(label="Input Text", placeholder="Enter text to convert to Animalese")
@@ -255,7 +255,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
255
  refresh_button.click(update, outputs=[models_dropdown])
256
 
257
 
258
- with gr.Accordion("Settings", open=False):
259
  pitch_algo_conf = gr.Dropdown(PITCH_ALGO_OPT,value=PITCH_ALGO_OPT[4],label="Pitch algorithm",visible=True,interactive=True,)
260
  pitch_lvl_conf = gr.Slider(label="Pitch level (lower -> 'male' while higher -> 'female')",minimum=-24,maximum=24,step=1,value=0,visible=True,interactive=True,)
261
  index_inf_conf = gr.Slider(minimum=0,maximum=1,label="Index influence -> How much accent is applied",value=0.75,)
 
234
  MODELS.append({"model": pth_file, "index": index_file, "model_name": model_name})
235
  return "Uploaded!"
236
 
237
+ with gr.Blocks(theme=gr.themes.Base(primary_hue="blue", secondary_hue="sky"), title="Animalese RVC 🔶") as app:
238
+ gr.Markdown("## Animalese RVC 🔶")
239
  gr.Markdown("**this project is forked of Ilaria RVC!**")
240
  with gr.Tab("Inference"):
241
  text_input = gr.Textbox(label="Input Text", placeholder="Enter text to convert to Animalese")
 
255
  refresh_button.click(update, outputs=[models_dropdown])
256
 
257
 
258
+ with gr.Accordion("Settings", open=False, visible=False):
259
  pitch_algo_conf = gr.Dropdown(PITCH_ALGO_OPT,value=PITCH_ALGO_OPT[4],label="Pitch algorithm",visible=True,interactive=True,)
260
  pitch_lvl_conf = gr.Slider(label="Pitch level (lower -> 'male' while higher -> 'female')",minimum=-24,maximum=24,step=1,value=0,visible=True,interactive=True,)
261
  index_inf_conf = gr.Slider(minimum=0,maximum=1,label="Index influence -> How much accent is applied",value=0.75,)