sikeaditya commited on
Commit
7d8fb22
·
verified ·
1 Parent(s): 936240d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def extract_text_with_gemini(image_path):
54
  print(f"Attempt {attempt + 1} to extract text using Gemini...")
55
 
56
  # Updated model options to use the latest available models
57
- model_options = ['gemini-2.0-pro', 'gemini-2.0-flash']
58
 
59
  for model_name in model_options:
60
  try:
 
54
  print(f"Attempt {attempt + 1} to extract text using Gemini...")
55
 
56
  # Updated model options to use the latest available models
57
+ model_options = ['gemini-2.0-flash']
58
 
59
  for model_name in model_options:
60
  try: