Update app.py
Browse files
app.py
CHANGED
@@ -390,8 +390,10 @@ def generate_auswahl(prompt, file, chatbot, history, rag_option, model_option, o
|
|
390 |
#Bild ausgeben
|
391 |
image = Image.open(io.BytesIO(result))
|
392 |
print("result image...............")
|
393 |
-
print (
|
394 |
image_64 = umwandeln_fuer_anzeige(image)
|
|
|
|
|
395 |
chatbot[-1][1] = "<img src='data:image/png;base64,{0}'/>".format(b64encode(image_64).decode('utf-8'))
|
396 |
history = history + [[prompt, result]]
|
397 |
print("history zeichnen......................")
|
|
|
390 |
#Bild ausgeben
|
391 |
image = Image.open(io.BytesIO(result))
|
392 |
print("result image...............")
|
393 |
+
print (image)
|
394 |
image_64 = umwandeln_fuer_anzeige(image)
|
395 |
+
print("result image 64...............")
|
396 |
+
print (image_64)
|
397 |
chatbot[-1][1] = "<img src='data:image/png;base64,{0}'/>".format(b64encode(image_64).decode('utf-8'))
|
398 |
history = history + [[prompt, result]]
|
399 |
print("history zeichnen......................")
|