Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -256,7 +256,14 @@ def upload_model(index_file, pth_file, model_name):
|
|
256 |
MODELS.append({"model": pth_file, "index": index_file, "model_name": model_name})
|
257 |
return "Uploaded!"
|
258 |
|
259 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
gr.Markdown("## Ilaria RVC π")
|
261 |
with gr.Tab("Inference"):
|
262 |
sound_gui = gr.Audio(value=None,type="filepath",autoplay=False,visible=True,)
|
|
|
256 |
MODELS.append({"model": pth_file, "index": index_file, "model_name": model_name})
|
257 |
return "Uploaded!"
|
258 |
|
259 |
+
my_applio = loadThemes.load_json()
|
260 |
+
if my_applio:
|
261 |
+
pass
|
262 |
+
else:
|
263 |
+
my_applio = "./applio.py"
|
264 |
+
|
265 |
+
|
266 |
+
with gr.Blocks(theme=my_applio, title="Ilaria RVC π") as demo:
|
267 |
gr.Markdown("## Ilaria RVC π")
|
268 |
with gr.Tab("Inference"):
|
269 |
sound_gui = gr.Audio(value=None,type="filepath",autoplay=False,visible=True,)
|