Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,6 +128,30 @@ css = """
|
|
| 128 |
}
|
| 129 |
"""
|
| 130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
def respond(message, history):
|
| 132 |
return f"BubbleBot says: {message}"
|
| 133 |
|
|
|
|
| 128 |
}
|
| 129 |
"""
|
| 130 |
|
| 131 |
+
css = r"""
|
| 132 |
+
#chatbot .user {
|
| 133 |
+
background: linear-gradient(to bottom right, #93c5fd, #60a5fa);
|
| 134 |
+
color: white;
|
| 135 |
+
border-radius: 18px 18px 4px 18px;
|
| 136 |
+
padding: 10px 14px;
|
| 137 |
+
margin: 6px 0;
|
| 138 |
+
text-align: right;
|
| 139 |
+
max-width: 75%;
|
| 140 |
+
margin-left: auto;
|
| 141 |
+
box-shadow: 0 2px 6px rgba(37,99,235,0.25);
|
| 142 |
+
}
|
| 143 |
+
#chatbot .bot {
|
| 144 |
+
background: #f3f4f6;
|
| 145 |
+
color: #111827;
|
| 146 |
+
border-radius: 18px 18px 18px 4px;
|
| 147 |
+
padding: 10px 14px;
|
| 148 |
+
margin: 6px 0;
|
| 149 |
+
text-align: left;
|
| 150 |
+
max-width: 75%;
|
| 151 |
+
margin-right: auto;
|
| 152 |
+
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
def respond(message, history):
|
| 156 |
return f"BubbleBot says: {message}"
|
| 157 |
|