datacipen commited on
Commit
a87c587
1 Parent(s): f683e03

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -448,7 +448,7 @@ async def start():
448
  elif chatProfile[1] == 'ESCOSKILLS':
449
  contextChat = await homeEsco()
450
  categorie = cl.user_session.set("categorie", os.environ['PINECONE_API_KEYESCO'])
451
- else:
452
  contextChat = await homeRne()
453
 
454
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = os.environ['HUGGINGFACEHUB_API_TOKEN']
@@ -974,7 +974,7 @@ async def setup_agent(settings):
974
 
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)
 
448
  elif chatProfile[1] == 'ESCOSKILLS':
449
  contextChat = await homeEsco()
450
  categorie = cl.user_session.set("categorie", os.environ['PINECONE_API_KEYESCO'])
451
+ elif chatProfile[1] == 'RNE':
452
  contextChat = await homeRne()
453
 
454
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = os.environ['HUGGINGFACEHUB_API_TOKEN']
 
974
 
975
  if chatProfile[1] == "ROMESKILLS" or chatProfile[1] == "ESCOSKILLS":
976
  await construction_NCS(competenceList, chatProfile[1])
977
+ elif chatProfile[1] == "RNE":
978
  competenceArray = []
979
  competenceArray.append(competenceList)
980
  await creation_liste_entreprises(competenceArray)