Update app.py
Browse files
app.py
CHANGED
@@ -1481,7 +1481,31 @@ 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> Ilaria RVC 💖 </h1>")
|
|
|
1481 |
else:
|
1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
1483 |
|
1484 |
+
theme = gr.themes.Base(
|
1485 |
+
primary_hue="slate",
|
1486 |
+
secondary_hue="slate",
|
1487 |
+
neutral_hue="zinc",
|
1488 |
+
font=[gr.themes.GoogleFont('Roboto'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
1489 |
+
).set(
|
1490 |
+
body_background_fill='*neutral_950',
|
1491 |
+
body_background_fill_dark='*neutral_950',
|
1492 |
+
border_color_accent_dark='*neutral_900',
|
1493 |
+
block_background_fill_dark='*neutral_900',
|
1494 |
+
block_border_width='0px',
|
1495 |
+
block_border_width_dark='0px',
|
1496 |
+
checkbox_background_color_dark='*primary_950',
|
1497 |
+
input_background_fill_dark='*neutral_800',
|
1498 |
+
slider_color='*neutral_50',
|
1499 |
+
slider_color_dark='*neutral_50',
|
1500 |
+
button_primary_background_fill='*primary_50',
|
1501 |
+
button_primary_background_fill_dark='*primary_50',
|
1502 |
+
button_primary_text_color='*neutral_950',
|
1503 |
+
button_primary_text_color_dark='*neutral_950',
|
1504 |
+
button_secondary_background_fill='*neutral_950',
|
1505 |
+
button_secondary_background_fill_dark='*neutral_800'
|
1506 |
+
)
|
1507 |
+
|
1508 |
+
with gr.Blocks(theme=theme) as app:
|
1509 |
with gr.Tabs():
|
1510 |
with gr.TabItem("Inference"):
|
1511 |
gr.HTML("<h1> Ilaria RVC 💖 </h1>")
|