mlbench123 commited on
Commit
263d6d6
·
verified ·
1 Parent(s): 154b160

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ import traceback
12
  # ==============================================================
13
  # API Configuration - Add your key here
14
  # ==============================================================
15
- GEMINI_API_KEY = "AIzaSyDgNzVud08vXVrvFb5Mz0bHX8vBQ1LihNs"
16
  # ==============================================================
17
  # Enhanced extraction prompt with better instructions
18
  # ==============================================================
@@ -235,7 +235,7 @@ def process_documents(files):
235
 
236
  # Use the hardcoded API key and default model
237
  api_key = GEMINI_API_KEY
238
- model_choice = "models/gemini-1.5-flash-latest"
239
 
240
  if not api_key or api_key.strip() == "":
241
  return "❌ Error: API key not configured in code", "{}", "API key missing"
 
12
  # ==============================================================
13
  # API Configuration - Add your key here
14
  # ==============================================================
15
+ GEMINI_API_KEY = "AIzaSyC1VBSYRFPNOS6MJ6VywAikvVCi8ggAlLU"
16
  # ==============================================================
17
  # Enhanced extraction prompt with better instructions
18
  # ==============================================================
 
235
 
236
  # Use the hardcoded API key and default model
237
  api_key = GEMINI_API_KEY
238
+ model_choice = "gemini-2.0-flash"
239
 
240
  if not api_key or api_key.strip() == "":
241
  return "❌ Error: API key not configured in code", "{}", "API key missing"