datacipen commited on
Commit
b1d72c4
1 Parent(s): 9ae9825

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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(2)
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)