Update app.py
Browse files
app.py
CHANGED
|
@@ -22,8 +22,7 @@ def blob_to_base64_html(blob_data):
|
|
| 22 |
try:
|
| 23 |
if isinstance(blob_data, (bytes, bytearray)):
|
| 24 |
encoded = base64.b64encode(blob_data).decode('utf-8')
|
| 25 |
-
return f"""
|
| 26 |
-
<img src="data:image/png;base64,{encoded}"
|
| 27 |
style="
|
| 28 |
width:100%;
|
| 29 |
max-width:1000px;
|
|
|
|
| 22 |
try:
|
| 23 |
if isinstance(blob_data, (bytes, bytearray)):
|
| 24 |
encoded = base64.b64encode(blob_data).decode('utf-8')
|
| 25 |
+
return f"""<img src="data:image/png;base64,{encoded}"
|
|
|
|
| 26 |
style="
|
| 27 |
width:100%;
|
| 28 |
max-width:1000px;
|