Docfile commited on
Commit
b9cab08
·
verified ·
1 Parent(s): a7153c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -244,7 +244,7 @@ def submit_philo():
244
  prompt = methodologie
245
 
246
  try:
247
- model = genai.GenerativeModel(model_name="models/gemini-1.5-flash", safety_settings=safety_settings)
248
  response = model.generate_content(prompt, request_options={"timeout": 1100})
249
 
250
  dissertation = response.text
 
244
  prompt = methodologie
245
 
246
  try:
247
+ model = genai.GenerativeModel(model_name="models/gemini-2.0-flash-exp", safety_settings=safety_settings)
248
  response = model.generate_content(prompt, request_options={"timeout": 1100})
249
 
250
  dissertation = response.text