rodrisouza commited on
Commit
1e330ec
·
verified ·
1 Parent(s): 0a745f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 += ". 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
 
 
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! Please do not ask any more questions."
90
 
91
  prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
92