hwberry2 commited on
Commit
9a48a5d
·
1 Parent(s): bb1f1b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ def botResponse(user_input):
36
  #messages=user_input)
37
  messages=[{"role": "system", "content": "You are a therapist. Respond in less than 5 sentences."},
38
  {"role": "user", "content": user_input["text"]}]
 
39
 
40
  system_message = response["choices"][0]["message"]["content"]
41
  #msg_contents.append({"role": "assistant", "content": system_message})
 
36
  #messages=user_input)
37
  messages=[{"role": "system", "content": "You are a therapist. Respond in less than 5 sentences."},
38
  {"role": "user", "content": user_input["text"]}]
39
+ )
40
 
41
  system_message = response["choices"][0]["message"]["content"]
42
  #msg_contents.append({"role": "assistant", "content": system_message})