Update app.py
Browse files
app.py
CHANGED
@@ -440,7 +440,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
|
|
440 |
image = Image.open(io.BytesIO(result))
|
441 |
print("image:.................")
|
442 |
print(image)
|
443 |
-
history[-1][1] = {"image": image} #file.name,
|
444 |
print("history zeichnen......................")
|
445 |
print(history)
|
446 |
if shared_state.interrupted:
|
|
|
440 |
image = Image.open(io.BytesIO(result))
|
441 |
print("image:.................")
|
442 |
print(image)
|
443 |
+
history[-1][1] = {"image": image}, #file.name,
|
444 |
print("history zeichnen......................")
|
445 |
print(history)
|
446 |
if shared_state.interrupted:
|