Next
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ class BlueTheme(Base):
|
|
10 |
def __init__(
|
11 |
self,
|
12 |
*,
|
13 |
-
primary_hue: colors.Color | str =
|
14 |
-
secondary_hue: colors.Color | str =
|
15 |
neutral_hue: colors.Color | str = colors.gray,
|
16 |
spacing_size: sizes.Size | str = sizes.spacing_md,
|
17 |
radius_size: sizes.Size | str = sizes.radius_md,
|
@@ -48,7 +48,7 @@ blue_theme = BlueTheme()
|
|
48 |
with gr.Blocks(theme=blue_theme) as demo:
|
49 |
textbox = gr.Textbox(label="Name")
|
50 |
slider = gr.Slider(label="Count", minimum=0, maximum=100, step=1)
|
51 |
-
with gr.
|
52 |
button = gr.Button("Submit", variant="primary")
|
53 |
clear = gr.Button("Clear")
|
54 |
output = gr.Textbox(label="Output")
|
|
|
10 |
def __init__(
|
11 |
self,
|
12 |
*,
|
13 |
+
primary_hue: colors.Color | str = red,
|
14 |
+
secondary_hue: colors.Color | str = rose,
|
15 |
neutral_hue: colors.Color | str = colors.gray,
|
16 |
spacing_size: sizes.Size | str = sizes.spacing_md,
|
17 |
radius_size: sizes.Size | str = sizes.radius_md,
|
|
|
48 |
with gr.Blocks(theme=blue_theme) as demo:
|
49 |
textbox = gr.Textbox(label="Name")
|
50 |
slider = gr.Slider(label="Count", minimum=0, maximum=100, step=1)
|
51 |
+
with gr.Column():
|
52 |
button = gr.Button("Submit", variant="primary")
|
53 |
clear = gr.Button("Clear")
|
54 |
output = gr.Textbox(label="Output")
|