saq1b commited on
Commit
ba90127
1 Parent(s): ee39e5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -242,7 +242,7 @@ Follow this example structure:
242
  }
243
 
244
  model = genai.GenerativeModel(
245
- model_name="gemini-1.5-flash",
246
  generation_config=generation_config,
247
  safety_settings={
248
  HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
@@ -418,4 +418,4 @@ iface = gr.Interface(
418
  )
419
 
420
  if __name__ == "__main__":
421
- iface.launch()
 
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,
 
418
  )
419
 
420
  if __name__ == "__main__":
421
+ iface.launch()