Wanswan commited on
Commit
d8a603a
·
verified ·
1 Parent(s): 72f43eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ async def respond(user_input, history, step, language, questions, followup_mode)
79
  history.append({"role": "assistant", "content": f"{welcome}\n\n1. {translated_questions[0]}"})
80
  return history, "", 1, user_language, translated_questions, False
81
  if step >= len(questions):
82
- thank_you = await gpt_translate("Thank you for your response!", language)
83
  end_note = await gpt_translate("This concludes our questions. Please proceed with the rest of the survey. 📝", language)
84
  history.append({"role": "assistant", "content": thank_you})
85
  history.append({"role": "assistant", "content": end_note})
 
79
  history.append({"role": "assistant", "content": f"{welcome}\n\n1. {translated_questions[0]}"})
80
  return history, "", 1, user_language, translated_questions, False
81
  if step >= len(questions):
82
+ thank_you = await gpt_translate("Thank you for your response! It was a pleasure talking with you. I hope you enjoyed the conversation.", language)
83
  end_note = await gpt_translate("This concludes our questions. Please proceed with the rest of the survey. 📝", language)
84
  history.append({"role": "assistant", "content": thank_you})
85
  history.append({"role": "assistant", "content": end_note})