atz21 commited on
Commit
31f0335
·
verified ·
1 Parent(s): cbbb45e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ try:
12
  if not api_key:
13
  raise ValueError("GOOGLE_API_KEY not found. Please set it in the Hugging Face Space secrets.")
14
  genai.configure(api_key=api_key)
15
- model = genai.GenerativeModel('gemini-2.5-pro')
16
  except Exception as e:
17
  print(f"Error configuring GenerativeAI: {e}")
18
  model = None
 
12
  if not api_key:
13
  raise ValueError("GOOGLE_API_KEY not found. Please set it in the Hugging Face Space secrets.")
14
  genai.configure(api_key=api_key)
15
+ model = genai.GenerativeModel('gemini-2.5-flash')
16
  except Exception as e:
17
  print(f"Error configuring GenerativeAI: {e}")
18
  model = None