gsbm commited on
Commit
cc9175e
·
verified ·
1 Parent(s): 6ff44bb

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks() as demo:
110
  secondary_color_input = gr.ColorPicker(label="Secondary color", value="#3b82f6")
111
  neutral_color_input = gr.ColorPicker(label="Neutral color", value="#6b7280")
112
 
113
- css_output = gr.Textbox(label="Custom css", lines=10)
114
 
115
  def update_css(primary_color, secondary_color, neutral_color):
116
  new_css = compute(primary_color, secondary_color, neutral_color)
 
110
  secondary_color_input = gr.ColorPicker(label="Secondary color", value="#3b82f6")
111
  neutral_color_input = gr.ColorPicker(label="Neutral color", value="#6b7280")
112
 
113
+ css_output = gr.Code(label="Custom css", lines=10, language="css")
114
 
115
  def update_css(primary_color, secondary_color, neutral_color):
116
  new_css = compute(primary_color, secondary_color, neutral_color)