Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -192,7 +192,7 @@ async def on_message(message: cl.Message):
|
|
192 |
if count <= 15:
|
193 |
count = count + 1
|
194 |
test.append(search[i].metadata['Lien'])
|
195 |
-
sources_text = sources_text +
|
196 |
elements = [
|
197 |
cl.Text(name="Sources", content=sources_text, display="inline")
|
198 |
]
|
|
|
192 |
if count <= 15:
|
193 |
count = count + 1
|
194 |
test.append(search[i].metadata['Lien'])
|
195 |
+
sources_text = sources_text + count + ". " + search[i].metadata['Titre'] + ', ' + search[i].metadata['Auteurs'] + ', ' + search[i].metadata['Lien'] + "\n"
|
196 |
elements = [
|
197 |
cl.Text(name="Sources", content=sources_text, display="inline")
|
198 |
]
|