yangtb24 commited on
Commit
b4ef3d5
·
verified ·
1 Parent(s): 429db12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def test_model_availability(api_key, model_name):
117
  def create_base64_markdown_image(image_url):
118
  try:
119
  response = requests.get(image_url, stream=True)
120
- response.raise_for_status()=
121
 
122
  image_data = response.content
123
  base64_encoded = base64.b64encode(image_data).decode('utf-8')
 
117
  def create_base64_markdown_image(image_url):
118
  try:
119
  response = requests.get(image_url, stream=True)
120
+ response.raise_for_status()
121
 
122
  image_data = response.content
123
  base64_encoded = base64.b64encode(image_data).decode('utf-8')