Spaces:
Running
Running
Update app.py
Browse files
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-flash", safety_settings=safety_settings)
|
246 |
response = model.generate_content(prompt, request_options={"timeout": 900})
|
247 |
|
248 |
dissertation = response.text
|
|
|
242 |
prompt = methodologie
|
243 |
|
244 |
try:
|
245 |
+
model = genai.GenerativeModel(model_name="models/gemini-1.5-flash-002", safety_settings=safety_settings)
|
246 |
response = model.generate_content(prompt, request_options={"timeout": 900})
|
247 |
|
248 |
dissertation = response.text
|