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