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 += ". Thank you for your answers. This will be all for today. Goodbye!"
|
90 |
|
91 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
92 |
|