Docfile commited on
Commit
1ba8a4c
·
verified ·
1 Parent(s): 7147da0

Update app.py

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