TheStinger commited on
Commit
0fa03a6
β€’
1 Parent(s): 4ed0876

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -274,7 +274,7 @@ def upload_model(index_file, pth_file, model_name):
274
  MODELS.append({"model": pth_file, "index": index_file, "model_name": model_name})
275
  return "Uploaded!"
276
 
277
- with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose"), title="Ilaria RVC πŸ’–") as demo:
278
  gr.Markdown("## Ilaria RVC πŸ’–")
279
  with gr.Tab("Inference"):
280
  sound_gui = gr.Audio(value=None,type="filepath",autoplay=False,visible=True,)
@@ -526,4 +526,4 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
526
  ![ilaria](https://i.ytimg.com/vi/5PWqt2Wg-us/maxresdefault.jpg)
527
  ''')
528
 
529
- demo.queue(api_open=False).launch(show_api=False)
 
274
  MODELS.append({"model": pth_file, "index": index_file, "model_name": model_name})
275
  return "Uploaded!"
276
 
277
+ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose"), title="Ilaria RVC πŸ’–") as app:
278
  gr.Markdown("## Ilaria RVC πŸ’–")
279
  with gr.Tab("Inference"):
280
  sound_gui = gr.Audio(value=None,type="filepath",autoplay=False,visible=True,)
 
526
  ![ilaria](https://i.ytimg.com/vi/5PWqt2Wg-us/maxresdefault.jpg)
527
  ''')
528
 
529
+ app.queue(api_open=False).launch(show_api=False)