Docfile commited on
Commit
b7ba4d9
·
verified ·
1 Parent(s): 572569d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -643,7 +643,7 @@ def process_image_background(task_id, image_data):
643
  # Using "gemini-1.5-pro-latest" as a robust alternative. User can change if needed.
644
  # The user's original Gemini call structure:
645
  gemini_response = client.models.generate_content(
646
- model="gemini-2.5-flash-preview-04-17",
647
  contents=[
648
  {'inline_data': {'mime_type': 'image/png', 'data': img_base64_str}},
649
  ppmqth
 
643
  # Using "gemini-1.5-pro-latest" as a robust alternative. User can change if needed.
644
  # The user's original Gemini call structure:
645
  gemini_response = client.models.generate_content(
646
+ model="gemini-2.5-flash-preview-05-20",
647
  contents=[
648
  {'inline_data': {'mime_type': 'image/png', 'data': img_base64_str}},
649
  ppmqth