chansung commited on
Commit
6ada2c7
·
verified ·
1 Parent(s): 135d31c

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +2 -2
app/main.py CHANGED
@@ -31,8 +31,8 @@ def _translate_messages(history):
31
  messages = []
32
 
33
  for conv in history:
34
- messages.append({"role":"user", "content":conv[0]))
35
- messages.append({"role":"assistant", "content":conv[1]))
36
 
37
  return messages
38
 
 
31
  messages = []
32
 
33
  for conv in history:
34
+ messages.append({"role":"user", "content":conv[0]})
35
+ messages.append({"role":"assistant", "content":conv[1]})
36
 
37
  return messages
38