Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -281,14 +281,16 @@ def create_ui():
|
|
281 |
padding: 10px 15px;
|
282 |
margin: 5px 0;
|
283 |
border-radius: 8px;
|
|
|
284 |
}
|
285 |
.chatbot .user-message {
|
286 |
-
|
287 |
-
color: #1b5e20 !important;
|
288 |
}
|
289 |
.chatbot .bot-message {
|
290 |
-
|
291 |
-
|
|
|
|
|
292 |
}
|
293 |
.chatbot pre {
|
294 |
background-color: #f5f5f5 !important;
|
@@ -306,6 +308,10 @@ def create_ui():
|
|
306 |
.chatbot p {
|
307 |
margin: 5px 0;
|
308 |
}
|
|
|
|
|
|
|
|
|
309 |
"""
|
310 |
|
311 |
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
|
|
281 |
padding: 10px 15px;
|
282 |
margin: 5px 0;
|
283 |
border-radius: 8px;
|
284 |
+
background-color: transparent !important;
|
285 |
}
|
286 |
.chatbot .user-message {
|
287 |
+
border-left: 4px solid #4caf50;
|
|
|
288 |
}
|
289 |
.chatbot .bot-message {
|
290 |
+
border-left: 4px solid #2196f3;
|
291 |
+
}
|
292 |
+
.chatbot .user-message, .chatbot .bot-message {
|
293 |
+
color: #000000 !important;
|
294 |
}
|
295 |
.chatbot pre {
|
296 |
background-color: #f5f5f5 !important;
|
|
|
308 |
.chatbot p {
|
309 |
margin: 5px 0;
|
310 |
}
|
311 |
+
.chatbot * {
|
312 |
+
word-wrap: break-word !important;
|
313 |
+
white-space: pre-wrap !important;
|
314 |
+
}
|
315 |
"""
|
316 |
|
317 |
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|