schuler commited on
Commit
8a1c8a3
·
verified ·
1 Parent(s): 911228e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- # prompt += ""
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