alanchen1115 commited on
Commit
a781f8a
·
verified ·
1 Parent(s): de3ef94

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -147,7 +147,7 @@ def analyze_image_with_text(image_path: str, user_text: str) -> str:
147
  img_user = PIL.Image.open(image_path)
148
  response = genai_client.models.generate_content(
149
  model="gemini-2.5-flash",
150
- config=types.GenerateContentConfig(response_mime_type="application/json"),
151
  contents=[img_user, user_text]
152
  )
153
  if (response.text != None):
 
147
  img_user = PIL.Image.open(image_path)
148
  response = genai_client.models.generate_content(
149
  model="gemini-2.5-flash",
150
+ # config=types.GenerateContentConfig(response_mime_type="application/json"),
151
  contents=[img_user, user_text]
152
  )
153
  if (response.text != None):