johnbradley commited on
Commit
44b1dc0
·
verified ·
1 Parent(s): 49f5e8c

Update model name

Browse files

Switches to gemini-2.5-pro-preview-06-05 to fix error due to unavailable old model

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def generate_content_str(api_key, prompt, pil_image, tries=PROMPT_RETRYIES):
83
  while True:
84
  try:
85
  response = client.models.generate_content(
86
- model="gemini-2.5-pro-exp-03-25",
87
  contents=[prompt, pil_image],
88
  config=generate_content_config,
89
  )
 
83
  while True:
84
  try:
85
  response = client.models.generate_content(
86
+ model="gemini-2.5-pro-preview-06-05",
87
  contents=[prompt, pil_image],
88
  config=generate_content_config,
89
  )