Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -1166,7 +1166,7 @@ async def main(message: cl.Message):
|
|
1166 |
cl.Action(name="download", value=cl.user_session.get('saveMemory'), description="download_referentiel")
|
1167 |
]
|
1168 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Télécharger la mise en mémoire de vos fiches", actions=memories).send()
|
1169 |
-
await cl.sleep(
|
1170 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Contexte : " + QA_context_name, elements=text_elements).send()
|
1171 |
memory.chat_memory.add_user_message(message.content)
|
1172 |
memory.chat_memory.add_ai_message(msg.content)
|
|
|
1166 |
cl.Action(name="download", value=cl.user_session.get('saveMemory'), description="download_referentiel")
|
1167 |
]
|
1168 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Télécharger la mise en mémoire de vos fiches", actions=memories).send()
|
1169 |
+
await cl.sleep(1.5)
|
1170 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Contexte : " + QA_context_name, elements=text_elements).send()
|
1171 |
memory.chat_memory.add_user_message(message.content)
|
1172 |
memory.chat_memory.add_ai_message(msg.content)
|