Spaces:
Runtime error
Runtime error
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 |

|
| 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 |

|
| 527 |
''')
|
| 528 |
|
| 529 |
+
app.queue(api_open=False).launch(show_api=False)
|