datacipen commited on
Commit
901ba08
1 Parent(s): 6125ec0

Update homeskills.py

Browse files
Files changed (1) hide show
  1. homeskills.py +5 -3
homeskills.py CHANGED
@@ -11,8 +11,9 @@ def homemsg():
11
  await cl.Message(f"> Bonjour {welcomeUserStr}").send()
12
 
13
  async def homeRome():
14
- homemsg()
15
- df_allcompetences = pd.read_csv('./public/referentiel_competence.csv')
 
16
  df_competences = df_allcompetences[['libelle_competence']].copy()
17
  df_competences = df_competences.sort_values(by=['libelle_competence'])
18
  competences_list = df_competences['libelle_competence'].tolist()
@@ -46,7 +47,8 @@ async def homeRome():
46
 
47
  async def homeEsco():
48
  homemsg()
49
- df_allcompetences = pd.read_csv('./public/escoCompetencesAppellation.csv')
 
50
  df_competences = df_allcompetences[['compétence']].copy()
51
  df_competences = df_competences.sort_values(by=['compétence'])
52
  competences_list = df_competences['compétence'].tolist()
 
11
  await cl.Message(f"> Bonjour {welcomeUserStr}").send()
12
 
13
  async def homeRome():
14
+ homemsg()
15
+ fileCompetences = './public/referentiel_competence.csv'
16
+ df_allcompetences = pd.read_csv(fileCompetences)
17
  df_competences = df_allcompetences[['libelle_competence']].copy()
18
  df_competences = df_competences.sort_values(by=['libelle_competence'])
19
  competences_list = df_competences['libelle_competence'].tolist()
 
47
 
48
  async def homeEsco():
49
  homemsg()
50
+ fileCompetences = './public/escoCompetencesAppellation.csv'
51
+ df_allcompetences = pd.read_csv(fileCompetences)
52
  df_competences = df_allcompetences[['compétence']].copy()
53
  df_competences = df_competences.sort_values(by=['compétence'])
54
  competences_list = df_competences['compétence'].tolist()