Update main.py
Browse files
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 : " +
|
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
|