adding correct user reply to chat history
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ def nishauri(question: str, conversation_history: list[str]):
|
|
| 90 |
if lang_question=="sw":
|
| 91 |
reply_to_user = GoogleTranslator(source='auto', target='sw').translate(reply_to_user)
|
| 92 |
|
| 93 |
-
conversation_history.append({"user": question, "chatbot":
|
| 94 |
|
| 95 |
return reply_to_user, conversation_history
|
| 96 |
|
|
|
|
| 90 |
if lang_question=="sw":
|
| 91 |
reply_to_user = GoogleTranslator(source='auto', target='sw').translate(reply_to_user)
|
| 92 |
|
| 93 |
+
conversation_history.append({"user": question, "chatbot": reply_to_user})
|
| 94 |
|
| 95 |
return reply_to_user, conversation_history
|
| 96 |
|