Update app.py
Browse files
app.py
CHANGED
@@ -437,7 +437,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
|
|
437 |
if (prompt.find('zeichnen') != -1):
|
438 |
#Bild ausgeben
|
439 |
image = Image.open(io.BytesIO(result))
|
440 |
-
history[-1][1] = "
|
441 |
print("history zeichnen......................")
|
442 |
print(history)
|
443 |
return history, "Stop: Success"
|
|
|
437 |
if (prompt.find('zeichnen') != -1):
|
438 |
#Bild ausgeben
|
439 |
image = Image.open(io.BytesIO(result))
|
440 |
+
history[-1][1] = "" #file.name #image
|
441 |
print("history zeichnen......................")
|
442 |
print(history)
|
443 |
return history, "Stop: Success"
|