Spaces:
Sleeping
Sleeping
TheStinger
commited on
Commit
โข
0fa03a6
1
Parent(s):
4ed0876
Update app.py
Browse files
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
|
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 |
-
|
|
|
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)
|