Docfile commited on
Commit
1e50cbb
·
verified ·
1 Parent(s): 148dcbe

Update app.py

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