Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,6 +71,7 @@ if input:
|
|
71 |
"Hmm, not sure I know the answer, maybe you could ask differently? π€",
|
72 |
"Sorry, I didn't understand you, maybe you could ask differently? π€ Try asking 'What should I use to extract name in a document' π€"]
|
73 |
bot_answer = random.choice(fallback_template)
|
|
|
74 |
|
75 |
with placeholder.container():
|
76 |
last_message = message_history[-1]
|
|
|
71 |
"Hmm, not sure I know the answer, maybe you could ask differently? π€",
|
72 |
"Sorry, I didn't understand you, maybe you could ask differently? π€ Try asking 'What should I use to extract name in a document' π€"]
|
73 |
bot_answer = random.choice(fallback_template)
|
74 |
+
message_history.append({"text":bot_answer, "is_user" : False})
|
75 |
|
76 |
with placeholder.container():
|
77 |
last_message = message_history[-1]
|