Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -399,7 +399,7 @@ La conclusion répond à la question critique posée en introduction, en s'appuy
|
|
399 |
prompt = methodologie
|
400 |
|
401 |
try:
|
402 |
-
model = genai.GenerativeModel(model_name="models/gemini-2.0-flash
|
403 |
response = model.generate_content(prompt, request_options={"timeout": 1100})
|
404 |
|
405 |
dissertation = response.text
|
|
|
399 |
prompt = methodologie
|
400 |
|
401 |
try:
|
402 |
+
model = genai.GenerativeModel(model_name="models/gemini-2.0-flash", safety_settings=safety_settings)
|
403 |
response = model.generate_content(prompt, request_options={"timeout": 1100})
|
404 |
|
405 |
dissertation = response.text
|