Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1481,30 +1481,37 @@ def zip_downloader(model):
|
|
1481 |
else:
|
1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
1483 |
|
1484 |
-
|
1485 |
-
primary_hue="
|
1486 |
-
secondary_hue="
|
1487 |
-
|
|
|
|
|
1488 |
).set(
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
|
|
|
|
|
|
|
|
|
|
1501 |
)
|
1502 |
|
1503 |
-
with gr.Blocks(theme=
|
1504 |
with gr.Tabs():
|
1505 |
with gr.TabItem("Inference"):
|
1506 |
-
gr.HTML("<h1>
|
1507 |
-
gr.HTML("<h10>
|
1508 |
|
1509 |
# Inference Preset Row
|
1510 |
# with gr.Row():
|
|
|
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 |
+
radius_size="radius_sm",
|
1489 |
+
font=[gr.themes.GoogleFont('Roboto'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
1490 |
).set(
|
1491 |
+
body_background_fill='*neutral_950',
|
1492 |
+
body_background_fill_dark='*neutral_950',
|
1493 |
+
border_color_accent_dark='*neutral_900',
|
1494 |
+
color_accent_soft_dark='*prim',
|
1495 |
+
block_background_fill_dark='*neutral_900',
|
1496 |
+
block_border_width='0px',
|
1497 |
+
block_border_width_dark='0px',
|
1498 |
+
checkbox_background_color_dark='*primary_950',
|
1499 |
+
input_background_fill_dark='*neutral_800',
|
1500 |
+
slider_color='*neutral_50',
|
1501 |
+
slider_color_dark='*neutral_50',
|
1502 |
+
button_primary_background_fill='*primary_50',
|
1503 |
+
button_primary_background_fill_dark='*primary_50',
|
1504 |
+
button_primary_text_color='*neutral_950',
|
1505 |
+
button_primary_text_color_dark='*neutral_950',
|
1506 |
+
button_secondary_background_fill='*neutral_950',
|
1507 |
+
button_secondary_background_fill_dark='*neutral_800'
|
1508 |
)
|
1509 |
|
1510 |
+
with gr.Blocks(theme=theme) as app:
|
1511 |
with gr.Tabs():
|
1512 |
with gr.TabItem("Inference"):
|
1513 |
+
gr.HTML("<h1> Ilaria RVC </h1>")
|
1514 |
+
gr.HTML("<h10> duplciated to just mess wuth gradio, dont use this </h10>")
|
1515 |
|
1516 |
# Inference Preset Row
|
1517 |
# with gr.Row():
|