Spaces:
Paused
Paused
Create ui.py
Browse files
ui.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
css = """
|
| 2 |
+
.message-row {
|
| 3 |
+
justify-content: space-evenly !important;
|
| 4 |
+
}
|
| 5 |
+
.message-bubble-border {
|
| 6 |
+
border-radius: 6px !important;
|
| 7 |
+
}
|
| 8 |
+
.message-buttons-bot, .message-buttons-user {
|
| 9 |
+
right: 10px !important;
|
| 10 |
+
left: auto !important;
|
| 11 |
+
bottom: 2px !important;
|
| 12 |
+
}
|
| 13 |
+
.dark.message-bubble-border {
|
| 14 |
+
border-color: #21293b !important;
|
| 15 |
+
}
|
| 16 |
+
.dark.user {
|
| 17 |
+
background: #0a1120 !important;
|
| 18 |
+
}
|
| 19 |
+
.dark.assistant {
|
| 20 |
+
background: transparent !important;
|
| 21 |
+
}
|
| 22 |
+
"""
|