Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -579,37 +579,12 @@ function refresh() {
|
|
| 579 |
"""
|
| 580 |
|
| 581 |
|
| 582 |
-
custom_theme = gr.themes.Soft(
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
primary_200="#ebe6a6",
|
| 587 |
-
primary_300="#e1dc99",
|
| 588 |
-
primary_400="#d7d28c",
|
| 589 |
-
primary_500="#cdc87f",
|
| 590 |
-
primary_600="#c3be72",
|
| 591 |
-
primary_700="#b9b465",
|
| 592 |
-
primary_800="#afaa58",
|
| 593 |
-
primary_900="#a5a04b",
|
| 594 |
-
|
| 595 |
-
# Background colors
|
| 596 |
-
background_fill_primary="white",
|
| 597 |
-
background_fill_secondary="#EFFE8A",
|
| 598 |
-
|
| 599 |
-
# Button colors
|
| 600 |
-
button_primary_background_fill="#EFFE8A",
|
| 601 |
-
button_primary_background_fill_hover="#f5f0b3",
|
| 602 |
-
button_primary_text_color="#333333",
|
| 603 |
-
|
| 604 |
-
# Border colors
|
| 605 |
-
border_color_primary="rgba(239, 254, 138, 0.5)",
|
| 606 |
-
|
| 607 |
-
# Block styling
|
| 608 |
-
block_background_fill="white",
|
| 609 |
-
block_border_color="rgba(239, 254, 138, 0.3)",
|
| 610 |
)
|
| 611 |
|
| 612 |
-
|
| 613 |
# Create the Gradio interface with light theme
|
| 614 |
with gr.Blocks(css=css, js=js, theme=custom_theme) as demo:
|
| 615 |
gr.Markdown("""
|
|
|
|
| 579 |
"""
|
| 580 |
|
| 581 |
|
| 582 |
+
custom_theme = gr.themes.Soft(
|
| 583 |
+
primary_hue="yellow",
|
| 584 |
+
secondary_hue="gray",
|
| 585 |
+
neutral_hue="gray",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 586 |
)
|
| 587 |
|
|
|
|
| 588 |
# Create the Gradio interface with light theme
|
| 589 |
with gr.Blocks(css=css, js=js, theme=custom_theme) as demo:
|
| 590 |
gr.Markdown("""
|