Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def interact(user_input, history, interaction_count):
|
|
86 |
raise ValueError("Conversation roles must alternate user/assistant/user/assistant/...")
|
87 |
|
88 |
if interaction_count >= MAX_INTERACTIONS:
|
89 |
-
user_input += ".
|
90 |
|
91 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
92 |
|
|
|
86 |
raise ValueError("Conversation roles must alternate user/assistant/user/assistant/...")
|
87 |
|
88 |
if interaction_count >= MAX_INTERACTIONS:
|
89 |
+
user_input += ". I enjoyed our conversation. That’s it for today. See you next time!"
|
90 |
|
91 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
92 |
|