Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,13 +5,13 @@ from gradio.themes.utils.theme_dropdown import create_theme_dropdown
|
|
| 5 |
|
| 6 |
dropdown, js = create_theme_dropdown()
|
| 7 |
|
| 8 |
-
with gr.Blocks(theme='
|
| 9 |
with gr.Row(equal_height=True):
|
| 10 |
with gr.Column(scale=10):
|
| 11 |
gr.Markdown(
|
| 12 |
"""
|
| 13 |
-
# Theme preview: `
|
| 14 |
-
To use this theme, set `theme='
|
| 15 |
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
| 16 |
of this theme.
|
| 17 |
"""
|
|
|
|
| 5 |
|
| 6 |
dropdown, js = create_theme_dropdown()
|
| 7 |
|
| 8 |
+
with gr.Blocks(theme='NeoPy/shadowthedgehog', js="() => {document.body.classList.toggle('dark');}") as demo:
|
| 9 |
with gr.Row(equal_height=True):
|
| 10 |
with gr.Column(scale=10):
|
| 11 |
gr.Markdown(
|
| 12 |
"""
|
| 13 |
+
# Theme preview: `shadowthedgehog`
|
| 14 |
+
To use this theme, set `theme='NeoPy/shadowthedgehog'` in `gr.Blocks()` or `gr.Interface()`.
|
| 15 |
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
| 16 |
of this theme.
|
| 17 |
"""
|