hazelhh commited on
Commit
598512a
·
verified ·
1 Parent(s): 7bf1073

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -90,6 +90,7 @@ def upload_to_imgbb(image_base64: str):
90
  return imgbb_link
91
  except requests.exceptions.RequestException as e:
92
  logging.error(f"Error uploading to Imgbb: {e}")
 
93
  return None
94
 
95
  def get_gemini_response(prompt: str, images: list):
 
90
  return imgbb_link
91
  except requests.exceptions.RequestException as e:
92
  logging.error(f"Error uploading to Imgbb: {e}")
93
+ logging.error(f"Imgbb API Response: {response.status_code} - {response.text}")
94
  return None
95
 
96
  def get_gemini_response(prompt: str, images: list):