saq1b commited on
Commit
f0aa276
·
verified ·
1 Parent(s): 0619d38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -242,7 +242,7 @@ Follow this example structure:
242
  }
243
 
244
  model = genai.GenerativeModel(
245
- model_name="gemini-1.5-flash-002",
246
  generation_config=generation_config,
247
  safety_settings={
248
  HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
 
242
  }
243
 
244
  model = genai.GenerativeModel(
245
+ model_name="gemini-2.0-flash",
246
  generation_config=generation_config,
247
  safety_settings={
248
  HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,