HODACHI commited on
Commit
be19800
1 Parent(s): eedab68
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -15,6 +15,7 @@ def respond(
15
  temperature,
16
  top_p,
17
  ):
 
18
  for val in history:
19
  if val[0]:
20
  messages.append({"role": "user", "content": val[0]})
 
15
  temperature,
16
  top_p,
17
  ):
18
+ messages = []
19
  for val in history:
20
  if val[0]:
21
  messages.append({"role": "user", "content": val[0]})