Next commited on
Commit
df9ab0c
·
verified ·
1 Parent(s): 0e2ebf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,8 +10,8 @@ class BlueTheme(Base):
10
  def __init__(
11
  self,
12
  *,
13
- primary_hue: colors.Color | str = colors.blue,
14
- secondary_hue: colors.Color | str = colors.blue,
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.Row():
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")