Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def predict(history, message, bot_name="Bot", personality="wise AI", tone="frien
|
|
71 |
|
72 |
# Append bot reply
|
73 |
history.append({"role": "assistant", "content": reply})
|
74 |
-
return history,
|
75 |
|
76 |
# Keep-alive endpoint
|
77 |
def keep_alive(msg="ping"):
|
|
|
71 |
|
72 |
# Append bot reply
|
73 |
history.append({"role": "assistant", "content": reply})
|
74 |
+
return history, reply
|
75 |
|
76 |
# Keep-alive endpoint
|
77 |
def keep_alive(msg="ping"):
|