Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def bot(history):
|
|
| 63 |
)
|
| 64 |
print(response)
|
| 65 |
chatbot_message = response.choices[0].message.content.strip()
|
| 66 |
-
history[-1]
|
| 67 |
return history
|
| 68 |
|
| 69 |
def add_message(history, message):
|
|
|
|
| 63 |
)
|
| 64 |
print(response)
|
| 65 |
chatbot_message = response.choices[0].message.content.strip()
|
| 66 |
+
history[-1][1] = chatbot_message
|
| 67 |
return history
|
| 68 |
|
| 69 |
def add_message(history, message):
|