Spaces:
Sleeping
Sleeping
color changes
#1
by aroushansari3112 - opened
app.py
CHANGED
|
@@ -120,5 +120,29 @@ chatbot = gr.ChatInterface(
|
|
| 120 |
"What should I do when I'm feeling overwhelmed?"
|
| 121 |
]
|
| 122 |
|
| 123 |
-
)
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
"What should I do when I'm feeling overwhelmed?"
|
| 121 |
]
|
| 122 |
|
| 123 |
+
)
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
chat_theme = gr.themes.Soft(
|
| 127 |
+
primary_hue="ice blue",
|
| 128 |
+
secondary_hue = "sage",
|
| 129 |
+
neutral_hue = "gray",
|
| 130 |
+
spacing_size = "lg",
|
| 131 |
+
radius_size = "lg"
|
| 132 |
+
).set (
|
| 133 |
+
#Input area
|
| 134 |
+
input_background_fill = "*neutral_50",
|
| 135 |
+
input_border_color_focus = "*primary_300",
|
| 136 |
+
#Button styling
|
| 137 |
+
button_primary_background_fill = "*primary_500",
|
| 138 |
+
button_primary_background_fill_hover = "*primary_400"
|
| 139 |
+
)
|
| 140 |
+
|
| 141 |
+
chatbot = gr.ChatInterface(respond, type="messages", theme=chat_theme)
|
| 142 |
+
|
| 143 |
+
chatbot.launch(ssr_mode=False)
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
|