Ludovicollin commited on
Commit
05505e1
·
verified ·
1 Parent(s): c2cabcd

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -404,8 +404,8 @@ async def setup_agent(settings):
404
  ).send()
405
 
406
  text_file = files[0]
407
- docs = process_file(text_file)
408
- NoteSectorielle = cl.user_session.set('NCS' + romeListArray[0], docs)
409
  else:
410
  NoteSectorielle = cl.user_session.get('NCS' + romeListArray[0])
411
  question ="""
 
404
  ).send()
405
 
406
  text_file = files[0]
407
+ NoteSectorielle = process_file(text_file)
408
+ cl.user_session.set('NCS' + romeListArray[0], docs)
409
  else:
410
  NoteSectorielle = cl.user_session.get('NCS' + romeListArray[0])
411
  question ="""