QIDNLF commited on
Commit
4cc04a2
·
verified ·
1 Parent(s): ef6b128

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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;