datacipen commited on
Commit
c70fe1d
1 Parent(s): 467774d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -975,7 +975,9 @@ async def setup_agent(settings):
975
  if chatProfile[1] == "ROMESKILLS" or chatProfile[1] == "ESCOSKILLS":
976
  await construction_NCS(competenceList, chatProfile[1])
977
  else:
978
- await construction_NCS(competenceList, chatProfile[1])
 
 
979
 
980
  contextChat = cl.user_session.get("contextChatBot")
981
  if not contextChat:
 
975
  if chatProfile[1] == "ROMESKILLS" or chatProfile[1] == "ESCOSKILLS":
976
  await construction_NCS(competenceList, chatProfile[1])
977
  else:
978
+ competenceArray = []
979
+ competenceArray.append(competenceList)
980
+ await creation_liste_entreprises(competenceArray)
981
 
982
  contextChat = cl.user_session.get("contextChatBot")
983
  if not contextChat: