Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def submit_philo():
|
|
245 |
prompt = methodologie
|
246 |
|
247 |
try:
|
248 |
-
model = genai.GenerativeModel(model_name="models/gemini-
|
249 |
response = model.generate_content(prompt, request_options={"timeout": 1100})
|
250 |
|
251 |
dissertation = response.text
|
|
|
245 |
prompt = methodologie
|
246 |
|
247 |
try:
|
248 |
+
model = genai.GenerativeModel(model_name="models/gemini-exp-1206", safety_settings=safety_settings)
|
249 |
response = model.generate_content(prompt, request_options={"timeout": 1100})
|
250 |
|
251 |
dissertation = response.text
|