alexkueck commited on
Commit
56924fc
1 Parent(s): 27d63b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -417,7 +417,7 @@ def generate_auswahl(prompt, file, chatbot, history, rag_option, model_option, o
417
  if (file == None):
418
  history = history + [(prompt, result)]
419
  else:
420
- history = history + [(file.name,), None),(prompt, result)]
421
 
422
  print("history nach Zusatz und mit KI Antwort...........")
423
  print(history)
 
417
  if (file == None):
418
  history = history + [(prompt, result)]
419
  else:
420
+ history = history + [((file), None),(prompt, result)]
421
 
422
  print("history nach Zusatz und mit KI Antwort...........")
423
  print(history)