Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -158,12 +158,12 @@ def chatbot_function(message, mood, conversation_mode, region, state):
|
|
158 |
|
159 |
return chat_display, state
|
160 |
|
161 |
-
# Generate chat display with left/right alignment
|
162 |
def generate_chat_display(history):
|
163 |
chat_display = """
|
164 |
<style>
|
165 |
.chat-container { max-width: 600px; margin: auto; }
|
166 |
-
.message { margin: 10px 0; padding: 10px; border-radius: 10px; width: 80%; }
|
167 |
.bot-message { background-color: #e6f3ff; float: left; clear: both; }
|
168 |
.user-message { background-color: #d4edda; float: right; clear: both; }
|
169 |
</style>
|
|
|
158 |
|
159 |
return chat_display, state
|
160 |
|
161 |
+
# Generate chat display with left/right alignment and black text
|
162 |
def generate_chat_display(history):
|
163 |
chat_display = """
|
164 |
<style>
|
165 |
.chat-container { max-width: 600px; margin: auto; }
|
166 |
+
.message { margin: 10px 0; padding: 10px; border-radius: 10px; width: 80%; color: #000000; }
|
167 |
.bot-message { background-color: #e6f3ff; float: left; clear: both; }
|
168 |
.user-message { background-color: #d4edda; float: right; clear: both; }
|
169 |
</style>
|