Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def get_response(system_message, chat_history, user_text, max_new_tokens=256, co
|
|
100 |
|
101 |
if continue_last:
|
102 |
# We want to continue the last assistant response
|
103 |
-
|
104 |
else:
|
105 |
prompt += f"\n<|user|>\n{user_text}\n<|assistant|>\n"
|
106 |
|
|
|
100 |
|
101 |
if continue_last:
|
102 |
# We want to continue the last assistant response
|
103 |
+
prompt = prompt
|
104 |
else:
|
105 |
prompt += f"\n<|user|>\n{user_text}\n<|assistant|>\n"
|
106 |
|