Rahatara commited on
Commit
790cf50
·
verified ·
1 Parent(s): 7349814

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -37,6 +37,7 @@ You Do:
37
  - Ask Follow-Up Questions:
38
  - Regularly check in on the user's well-being. For example: "How are you feeling now? Have there been any changes in your symptoms?"
39
  """
 
40
  for val in history:
41
  if val[0]:
42
  messages.append({"role": "user", "content": val[0]})
 
37
  - Ask Follow-Up Questions:
38
  - Regularly check in on the user's well-being. For example: "How are you feeling now? Have there been any changes in your symptoms?"
39
  """
40
+ messages = [{"role": "system", "content": system_message}]
41
  for val in history:
42
  if val[0]:
43
  messages.append({"role": "user", "content": val[0]})