Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,13 @@ import gradio as gr
|
|
6 |
|
7 |
dropdown, js = create_theme_dropdown()
|
8 |
|
9 |
-
with gr.Blocks(theme='
|
10 |
with gr.Row().style(equal_height=True):
|
11 |
with gr.Column(scale=10):
|
12 |
gr.Markdown(
|
13 |
"""
|
14 |
# Theme preview: `xkcd`
|
15 |
-
To use this theme, set `theme='
|
16 |
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
17 |
of this theme.
|
18 |
"""
|
|
|
6 |
|
7 |
dropdown, js = create_theme_dropdown()
|
8 |
|
9 |
+
with gr.Blocks(theme='theneos/xkcd') as demo:
|
10 |
with gr.Row().style(equal_height=True):
|
11 |
with gr.Column(scale=10):
|
12 |
gr.Markdown(
|
13 |
"""
|
14 |
# Theme preview: `xkcd`
|
15 |
+
To use this theme, set `theme='theneos/xkcd'` in `gr.Blocks()` or `gr.Interface()`.
|
16 |
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
17 |
of this theme.
|
18 |
"""
|