datacipen commited on
Commit
1900857
1 Parent(s): f107aa0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -135,7 +135,7 @@ def Search(input, categorie):
135
  for i in range(0,len(searchOffres)):
136
  if countOffres <= 15:
137
  countOffres = countOffres + 1
138
- sources_offres = sources_offres + str(countOffres) + ". " + searchOffres[i].metadata['Poste'] + " (type de contrat : " + search[i].metadata['Contrat'] + ")\n"
139
 
140
  results = [sources_text, verbatim_text, sources_offres]
141
  return results
 
135
  for i in range(0,len(searchOffres)):
136
  if countOffres <= 15:
137
  countOffres = countOffres + 1
138
+ sources_offres = sources_offres + str(countOffres) + ". " + searchOffres[i].metadata['Poste'] + " (type de contrat : " + searchOffres[i].metadata['Contrat'] + ")\n"
139
 
140
  results = [sources_text, verbatim_text, sources_offres]
141
  return results