Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
|
@@ -101,7 +101,12 @@ with gr.Blocks() as demo:
|
|
| 101 |
gr.Interface(
|
| 102 |
fn=update_css,
|
| 103 |
inputs=[primary_color_input, secondary_color_input, neutral_color_input],
|
| 104 |
-
outputs=[css_output, gr.HTML()]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
)
|
| 106 |
|
| 107 |
if __name__ == "__main__":
|
|
|
|
| 101 |
gr.Interface(
|
| 102 |
fn=update_css,
|
| 103 |
inputs=[primary_color_input, secondary_color_input, neutral_color_input],
|
| 104 |
+
outputs=[css_output, gr.HTML()],
|
| 105 |
+
examples=[
|
| 106 |
+
["#6c5ce7", "#e84393", "#636e72"],
|
| 107 |
+
["#38ada9", "#60a3bc", "#3c6382"],
|
| 108 |
+
["#706fd3", "#ff793f", "#aaa69d"]
|
| 109 |
+
]
|
| 110 |
)
|
| 111 |
|
| 112 |
if __name__ == "__main__":
|