yangtb24 commited on
Commit
8019a21
·
verified ·
1 Parent(s): 16d20a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ def create_base64_markdown_image(image_url):
123
  base64_encoded = base64.b64encode(image_data).decode('utf-8')
124
  mime_type = response.headers.get('Content-Type', 'image/png')
125
  markdown_image_link = f"![image](data:{mime_type};base64,{base64_encoded})"
126
- # print(markdown_image_link)
127
  logging.info(f"Created base64 markdown image link.")
128
  return markdown_image_link
129
  except requests.exceptions.RequestException as e:
 
123
  base64_encoded = base64.b64encode(image_data).decode('utf-8')
124
  mime_type = response.headers.get('Content-Type', 'image/png')
125
  markdown_image_link = f"![image](data:{mime_type};base64,{base64_encoded})"
126
+ print(markdown_image_link)
127
  logging.info(f"Created base64 markdown image link.")
128
  return markdown_image_link
129
  except requests.exceptions.RequestException as e: