hunyuan-t commited on
Commit
0aa29a4
1 Parent(s): 38662f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def respond(
31
  req = models.ChatCompletionsRequest()
32
 
33
  for val in history:
34
- if val[0] andval[1]:
35
  messages.append({"Role": "user", "Content": val[0]})
36
  messages.append({"Role": "assistant", "Content": val[1]})
37
 
 
31
  req = models.ChatCompletionsRequest()
32
 
33
  for val in history:
34
+ if val[0] and val[1]:
35
  messages.append({"Role": "user", "Content": val[0]})
36
  messages.append({"Role": "assistant", "Content": val[1]})
37