Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,7 @@ def predict(msg, history=[]):
|
|
| 32 |
)
|
| 33 |
|
| 34 |
res = result.json()['choices'][0]['message']['content']
|
|
|
|
| 35 |
history.append([msg, res])
|
| 36 |
return history, history, res
|
| 37 |
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
res = result.json()['choices'][0]['message']['content']
|
| 35 |
+
print(res)
|
| 36 |
history.append([msg, res])
|
| 37 |
return history, history, res
|
| 38 |
|