Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -367,9 +367,6 @@ class UserSession:
|
|
367 |
# Initialize conversation history with welcome message
|
368 |
welcome = self.get_welcome_message()
|
369 |
initial_message = (
|
370 |
-
"<div style='font-size: 20px; font-weight: normal; color: #FFFFFF;'>"
|
371 |
-
f"If you are going through something, please know you are not alone, I am here for you, no matter what.🤗"
|
372 |
-
"</div>"
|
373 |
)
|
374 |
self.conversation_history = [
|
375 |
{"role": "assistant", "content": welcome},
|
@@ -437,9 +434,6 @@ def collect_user_info(Nickname):
|
|
437 |
# Add initial message to start the conversation
|
438 |
def add_initial_message(chatbot):
|
439 |
initial_message = (
|
440 |
-
"<div style='font-size: 20px; font-weight: normal; color: #FFFFFF;'>"
|
441 |
-
f"If you are going through something, please know you are not alone, I am here for you, no matter what.🤗"
|
442 |
-
"</div>"
|
443 |
)
|
444 |
return chatbot + [(None, initial_message)]
|
445 |
|
|
|
367 |
# Initialize conversation history with welcome message
|
368 |
welcome = self.get_welcome_message()
|
369 |
initial_message = (
|
|
|
|
|
|
|
370 |
)
|
371 |
self.conversation_history = [
|
372 |
{"role": "assistant", "content": welcome},
|
|
|
434 |
# Add initial message to start the conversation
|
435 |
def add_initial_message(chatbot):
|
436 |
initial_message = (
|
|
|
|
|
|
|
437 |
)
|
438 |
return chatbot + [(None, initial_message)]
|
439 |
|