ChintanSatva commited on
Commit
c0cb562
·
verified ·
1 Parent(s): 1404125

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ if not api_key:
54
  logger.error("GOOGLE_API_KEY not set")
55
  raise HTTPException(status_code=500, detail="GOOGLE_API_KEY not set")
56
  genai.configure(api_key=api_key)
57
- model = genai.GenerativeModel("gemini-1.5-pro-latest") # Using a recommended model
58
 
59
  # Set Tesseract path (adjust if necessary)
60
  # For Docker/Linux, this is often the correct path. For Windows/macOS, it will differ.
 
54
  logger.error("GOOGLE_API_KEY not set")
55
  raise HTTPException(status_code=500, detail="GOOGLE_API_KEY not set")
56
  genai.configure(api_key=api_key)
57
+ model = genai.GenerativeModel("gemini-2.5-flash") # Using a recommended model
58
 
59
  # Set Tesseract path (adjust if necessary)
60
  # For Docker/Linux, this is often the correct path. For Windows/macOS, it will differ.