Update app.py
Browse files
app.py
CHANGED
|
@@ -719,8 +719,34 @@ TO SUMMARIZE: DATASET COLLECTION WILL CONTINUE FOR OUR NOVEL ENSEMBLE-TEAM PREDI
|
|
| 719 |
|
| 720 |
"""
|
| 721 |
footer = gr.Markdown("", elem_classes="footer")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 722 |
|
| 723 |
-
with gr.Blocks() as app:
|
| 724 |
demo.render()
|
| 725 |
footer.render()
|
| 726 |
|
|
|
|
| 719 |
|
| 720 |
"""
|
| 721 |
footer = gr.Markdown("", elem_classes="footer")
|
| 722 |
+
theme = gr.themes.Base(
|
| 723 |
+
primary_hue="sky",
|
| 724 |
+
neutral_hue="slate",
|
| 725 |
+
text_size="lg",
|
| 726 |
+
radius_size="sm",
|
| 727 |
+
font=[gr.themes.GoogleFont('Zen Maru Gothic'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
| 728 |
+
font_mono=[gr.themes.GoogleFont('Kosugi Maru'), 'ui-monospace', 'Consolas', 'monospace'],
|
| 729 |
+
).set(
|
| 730 |
+
body_text_weight='500',
|
| 731 |
+
embed_radius='*radius_xxs',
|
| 732 |
+
border_color_primary='*neutral_400',
|
| 733 |
+
border_color_primary_dark='*neutral_400',
|
| 734 |
+
shadow_drop='*block_shadow',
|
| 735 |
+
shadow_drop_lg='*shadow_drop',
|
| 736 |
+
button_border_width='*block_border_width',
|
| 737 |
+
button_border_width_dark='*block_border_width',
|
| 738 |
+
button_shadow='*shadow_drop',
|
| 739 |
+
button_shadow_active='*shadow_drop',
|
| 740 |
+
button_shadow_hover='*shadow_inset',
|
| 741 |
+
button_large_padding='*spacing_md',
|
| 742 |
+
button_large_radius='*radius_sm',
|
| 743 |
+
button_small_radius='*radius_xxl',
|
| 744 |
+
button_primary_background_fill='*primary_100',
|
| 745 |
+
button_primary_background_fill_dark='*primary_500',
|
| 746 |
+
button_primary_background_fill_hover_dark='*button_secondary_background_fill_hover'
|
| 747 |
+
)
|
| 748 |
|
| 749 |
+
with gr.Blocks(theme=theme) as app:
|
| 750 |
demo.render()
|
| 751 |
footer.render()
|
| 752 |
|