Elijahbodden commited on
Commit
c5c5495
·
verified ·
1 Parent(s): 47c25cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def respond(
68
  ):
69
  preset = "none"
70
 
71
- messages = presets[preset]
72
  for val in history:
73
  if val[0]:
74
  messages.append({"role": "user", "content": val[0]})
 
68
  ):
69
  preset = "none"
70
 
71
+ messages = presets[preset].copy()
72
  for val in history:
73
  if val[0]:
74
  messages.append({"role": "user", "content": val[0]})