Update app.py
Browse files
app.py
CHANGED
|
@@ -109,13 +109,35 @@ def get_layout():
|
|
| 109 |
"""
|
| 110 |
theme = gr.themes.Base(
|
| 111 |
primary_hue="orange",
|
| 112 |
-
secondary_hue="
|
| 113 |
neutral_hue="gray",
|
| 114 |
-
font=gr.themes.GoogleFont("Source Sans Pro"),
|
| 115 |
).set(
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
)
|
| 120 |
with gr.Blocks(css=css, theme=theme) as demo:
|
| 121 |
with gr.Column():
|
|
|
|
| 109 |
"""
|
| 110 |
theme = gr.themes.Base(
|
| 111 |
primary_hue="orange",
|
| 112 |
+
secondary_hue="cyan",
|
| 113 |
neutral_hue="gray",
|
|
|
|
| 114 |
).set(
|
| 115 |
+
body_text_color='*neutral_100',
|
| 116 |
+
body_text_color_subdued='*neutral_600',
|
| 117 |
+
background_fill_primary='*neutral_950',
|
| 118 |
+
background_fill_secondary='*neutral_600',
|
| 119 |
+
border_color_accent='*secondary_800',
|
| 120 |
+
color_accent='*primary_50',
|
| 121 |
+
color_accent_soft='*secondary_800',
|
| 122 |
+
code_background_fill='*neutral_700',
|
| 123 |
+
block_background_fill_dark='*body_background_fill',
|
| 124 |
+
block_info_text_color='#6b7280',
|
| 125 |
+
block_label_text_color='*neutral_300',
|
| 126 |
+
block_label_text_weight='700',
|
| 127 |
+
block_title_text_color='*block_label_text_color',
|
| 128 |
+
block_title_text_weight='300',
|
| 129 |
+
panel_background_fill='*neutral_800',
|
| 130 |
+
table_text_color_dark='*secondary_800',
|
| 131 |
+
checkbox_background_color_selected='*primary_500',
|
| 132 |
+
checkbox_label_background_fill='*neutral_500',
|
| 133 |
+
checkbox_label_background_fill_hover='*neutral_700',
|
| 134 |
+
checkbox_label_text_color='*neutral_200',
|
| 135 |
+
input_background_fill='*neutral_700',
|
| 136 |
+
input_background_fill_focus='*neutral_600',
|
| 137 |
+
slider_color='*primary_500',
|
| 138 |
+
table_even_background_fill='*neutral_700',
|
| 139 |
+
table_odd_background_fill='*neutral_600',
|
| 140 |
+
table_row_focus='*neutral_800'
|
| 141 |
)
|
| 142 |
with gr.Blocks(css=css, theme=theme) as demo:
|
| 143 |
with gr.Column():
|