Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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-
|
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:
|