alexkueck commited on
Commit
5211af5
·
verified ·
1 Parent(s): 1e7ee57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -292,7 +292,7 @@ def generate_auswahl(prompt_in, file, file_history, chatbot, history, anzahl_doc
292
  '<div><b>Dokument: </b> <span style="color: #BB70FC;">' + str(doc['titel']) + '</span> '
293
  ' (<b>Seite:</b></span> <span style="color: red;">' + str(doc['seite']) + '</span>)<br>'
294
  '<span><b>Auschnitt:</b> ' + str(doc["content"]) + '</span></div>'
295
- '<div><span><b>Link: </b><span style="color: #BB70FC;"><a href="'+str(doc['download_link']) + '" target=_"blank">' + str(doc['title']) + '</a></span></div>'
296
  for doc in results['relevant_docs']])
297
 
298
  history = history + [[prompt_in, summary]]
 
292
  '<div><b>Dokument: </b> <span style="color: #BB70FC;">' + str(doc['titel']) + '</span> '
293
  ' (<b>Seite:</b></span> <span style="color: red;">' + str(doc['seite']) + '</span>)<br>'
294
  '<span><b>Auschnitt:</b> ' + str(doc["content"]) + '</span></div>'
295
+ '<div><span><b>Link: </b><span style="color: #BB70FC;"><a href="'+str(doc['download_link']) + '" target=_"blank">' + str(doc['titel']) + '</a></span></div>'
296
  for doc in results['relevant_docs']])
297
 
298
  history = history + [[prompt_in, summary]]