Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,19 +74,11 @@ def respond(message, history):
|
|
| 74 |
response+= token
|
| 75 |
yield response
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
background-color: #ffc6cc; /* pink */
|
| 83 |
-
color: #1e3a8a;
|
| 84 |
-
}
|
| 85 |
-
.message.user {
|
| 86 |
-
background-color: #ffb3da; /* pink */
|
| 87 |
-
color: #831843;
|
| 88 |
-
}
|
| 89 |
-
"""
|
| 90 |
|
| 91 |
with gr.Blocks(css=custom_css) as demo:
|
| 92 |
chatbot = gr.ChatInterface(
|
|
|
|
| 74 |
response+= token
|
| 75 |
yield response
|
| 76 |
|
| 77 |
+
theme = gr.themes.Soft(
|
| 78 |
+
primary_hue="rose",
|
| 79 |
+
secondary_hue="zinc",
|
| 80 |
+
neutral_hue="pink",
|
| 81 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
with gr.Blocks(css=custom_css) as demo:
|
| 84 |
chatbot = gr.ChatInterface(
|