Spaces:
Runtime error
Runtime error
Update app/main.py
Browse files- 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 |
|