Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,7 @@ def submit_philo():
|
|
244 |
prompt = methodologie
|
245 |
|
246 |
try:
|
247 |
-
model = genai.GenerativeModel(model_name="models/gemini-
|
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
|