Spaces:
Runtime error
Runtime error
Light theme.
Browse files
app.py
CHANGED
|
@@ -184,7 +184,7 @@ def get_theme():
|
|
| 184 |
return "light"
|
| 185 |
|
| 186 |
|
| 187 |
-
blocks = gr.Blocks(css=custom_css, theme=get_theme())
|
| 188 |
with blocks:
|
| 189 |
|
| 190 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
|
|
|
| 184 |
return "light"
|
| 185 |
|
| 186 |
|
| 187 |
+
blocks = gr.Blocks(css=custom_css, theme=get_theme(), js="() => { document.body.classList.remove('dark') }")
|
| 188 |
with blocks:
|
| 189 |
|
| 190 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|