Spaces:
Sleeping
Sleeping
Update run.py
Browse files
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.
|
| 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)
|