Update app.py
Browse files
app.py
CHANGED
@@ -1481,7 +1481,26 @@ def zip_downloader(model):
|
|
1481 |
else:
|
1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
1483 |
|
1484 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1485 |
with gr.Tabs():
|
1486 |
with gr.TabItem("Inference"):
|
1487 |
gr.HTML("<h1> Applio-RVC-Fork V3 </h1>")
|
@@ -1845,7 +1864,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="purple", secondary_hue="purple"
|
|
1845 |
[vc_output3],
|
1846 |
)
|
1847 |
but1.click(fn=lambda: easy_uploader.clear())
|
1848 |
-
with gr.TabItem("Download
|
1849 |
with gr.Row():
|
1850 |
url=gr.Textbox(label="Huggingface Link:")
|
1851 |
with gr.Row():
|
|
|
1481 |
else:
|
1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
1483 |
|
1484 |
+
applio = gr.themes.Base(
|
1485 |
+
primary_hue="violet",
|
1486 |
+
secondary_hue="violet",
|
1487 |
+
font=[gr.themes.GoogleFont('sans-serif'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
1488 |
+
).set(
|
1489 |
+
border_color_accent_dark='*primary_600',
|
1490 |
+
border_color_primary_dark='*neutral_900',
|
1491 |
+
color_accent_soft_dark='*neutral_950',
|
1492 |
+
block_background_fill_dark='*neutral_950',
|
1493 |
+
block_border_color_dark='*neutral_950',
|
1494 |
+
checkbox_background_color_dark='*neutral_950',
|
1495 |
+
checkbox_border_color_dark='*primary_950',
|
1496 |
+
checkbox_label_background_fill_dark='*button_primary_background_fill',
|
1497 |
+
checkbox_label_background_fill_selected_dark='*button_primary_background_fill',
|
1498 |
+
input_background_fill='*neutral_200',
|
1499 |
+
input_background_fill_dark='*neutral_900',
|
1500 |
+
slider_color_dark='*button_primary_background_fill'
|
1501 |
+
)
|
1502 |
+
|
1503 |
+
with gr.Blocks(theme=applio), title="Applio V3") as app:
|
1504 |
with gr.Tabs():
|
1505 |
with gr.TabItem("Inference"):
|
1506 |
gr.HTML("<h1> Applio-RVC-Fork V3 </h1>")
|
|
|
1864 |
[vc_output3],
|
1865 |
)
|
1866 |
but1.click(fn=lambda: easy_uploader.clear())
|
1867 |
+
with gr.TabItem("Download"):
|
1868 |
with gr.Row():
|
1869 |
url=gr.Textbox(label="Huggingface Link:")
|
1870 |
with gr.Row():
|