Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def interact(user_input, history, interaction_count):
|
|
| 77 |
raise ValueError("Tokenizer or model is not initialized.")
|
| 78 |
|
| 79 |
if interaction_count >= MAX_INTERACTIONS:
|
| 80 |
-
user_input += " Thank you for your questions. Our session is now over. Goodbye!"
|
| 81 |
|
| 82 |
messages = history + [{"role": "user", "content": user_input}]
|
| 83 |
|
|
|
|
| 77 |
raise ValueError("Tokenizer or model is not initialized.")
|
| 78 |
|
| 79 |
if interaction_count >= MAX_INTERACTIONS:
|
| 80 |
+
user_input += ". Thank you for your questions. Our session is now over. Goodbye!"
|
| 81 |
|
| 82 |
messages = history + [{"role": "user", "content": user_input}]
|
| 83 |
|