Alexandre Gazola commited on
Commit
7953a0e
·
1 Parent(s): 8b53f5d
Files changed (1) hide show
  1. image_to_text_tool.py +1 -1
image_to_text_tool.py CHANGED
@@ -21,7 +21,7 @@ def image_to_text(image_base64_str, instructions):
21
  image_bytes = base64.b64decode(image_base64_str)
22
 
23
  genai.configure(api_key=constants.API_KEY)
24
- model = genai.GenerativeModel(constants.MODEL)
25
 
26
  response = model.generate_content(
27
  [
 
21
  image_bytes = base64.b64decode(image_base64_str)
22
 
23
  genai.configure(api_key=constants.API_KEY)
24
+ model = genai.GenerativeModel('gemini-2.5-pro-preview-05-06')
25
 
26
  response = model.generate_content(
27
  [