ornateowl commited on
Commit
0615183
·
verified ·
1 Parent(s): 3d85132

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def respond(message, history, hobby_type, age):
120
  print(best_chunks)
121
 
122
  str_chunks = "/n".join(best_chunks)
123
- messages = [{'role':'system', 'content': f'You are a very kind chatbot giving people hobby suggestions to help them spend less time on their electronic devices. Make sure to be specific to {hobby_type} hobbies. You answer their questions based on ' + str_chunks + '.'}]
124
 
125
  if history:
126
  messages.extend(history)
 
120
  print(best_chunks)
121
 
122
  str_chunks = "/n".join(best_chunks)
123
+ messages = [{'role':'system', 'content': f'You are a very kind chatbot giving people hobby suggestions to help them spend less time on their electronic devices. Make sure to be specific to {hobby_type} hobbies and make sure they are appropriate for someone who is {age} years old. You answer their questions based on ' + str_chunks + '.'}]
124
 
125
  if history:
126
  messages.extend(history)