Update app.py
Browse files
app.py
CHANGED
@@ -276,7 +276,7 @@ def generate_auswahl(prompt_in, file, file_history, chatbot, history, anzahl_doc
|
|
276 |
summary = " ".join([
|
277 |
'<b>Dokument:</b> <span style="color: pink;">' + str(doc['titel']) + '</span> '
|
278 |
'<span style="color: red;">Seite:</span> ' + str(doc['seite']) + '<br>'
|
279 |
-
'<b>Auschnitt:</b> ' + str(doc["
|
280 |
for doc in results['relevant_docs']
|
281 |
])
|
282 |
history = history + [[prompt_in, summary]]
|
|
|
276 |
summary = " ".join([
|
277 |
'<b>Dokument:</b> <span style="color: pink;">' + str(doc['titel']) + '</span> '
|
278 |
'<span style="color: red;">Seite:</span> ' + str(doc['seite']) + '<br>'
|
279 |
+
'<b>Auschnitt:</b> ' + str(doc["content"])
|
280 |
for doc in results['relevant_docs']
|
281 |
])
|
282 |
history = history + [[prompt_in, summary]]
|