Update app.py
Browse files
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 + [(
|
| 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.name,), None),(prompt, result)]
|
| 421 |
|
| 422 |
print("history nach Zusatz und mit KI Antwort...........")
|
| 423 |
print(history)
|