Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def respond(message, history):
|
|
46 |
#print("img:", img)
|
47 |
numpydata = asarray(img)
|
48 |
#print("numpy:", numpydata)
|
49 |
-
|
50 |
print("encoded:", image_encoded)
|
51 |
|
52 |
embed_image_markdown = f""
|
|
|
46 |
#print("img:", img)
|
47 |
numpydata = asarray(img)
|
48 |
#print("numpy:", numpydata)
|
49 |
+
image_encoded = base64.b64encode(numpydata)
|
50 |
print("encoded:", image_encoded)
|
51 |
|
52 |
embed_image_markdown = f""
|