datacipen commited on
Commit
74eb137
1 Parent(s): 045b0c6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -457,8 +457,9 @@ async def start():
457
  df_allcompetences = pd.read_csv('./public/referentiel_competence.csv')
458
  df_allcompetences = df_allcompetences.sort_values(by=['libelle_competence'])
459
  df_competences = df_allcompetences[['libelle_competence']].copy()
 
460
  competences_list = df_competences['libelle_competence'].tolist()
461
-
462
  cl.user_session.set("arraySettingsComp", competences_list)
463
  settings = await cl.ChatSettings(
464
  [
 
457
  df_allcompetences = pd.read_csv('./public/referentiel_competence.csv')
458
  df_allcompetences = df_allcompetences.sort_values(by=['libelle_competence'])
459
  df_competences = df_allcompetences[['libelle_competence']].copy()
460
+ competences_list = []
461
  competences_list = df_competences['libelle_competence'].tolist()
462
+ competences_list.insert(0, "")
463
  cl.user_session.set("arraySettingsComp", competences_list)
464
  settings = await cl.ChatSettings(
465
  [