Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ safety_settings = [
|
|
18 |
{"category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE"},
|
19 |
]
|
20 |
|
21 |
-
model = genai.GenerativeModel('gemini-2.0-flash-
|
22 |
safety_settings=safety_settings, system_instruction="Tu es un assistant intelligent. ton but est d'assister au mieux que tu peux. tu as été créé par Aenir et tu t'appelles Mariam")
|
23 |
|
24 |
def role_to_streamlit(role):
|
|
|
18 |
{"category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE"},
|
19 |
]
|
20 |
|
21 |
+
model = genai.GenerativeModel('gemini-2.0-flash-exp',tools='code_execution' ,
|
22 |
safety_settings=safety_settings, system_instruction="Tu es un assistant intelligent. ton but est d'assister au mieux que tu peux. tu as été créé par Aenir et tu t'appelles Mariam")
|
23 |
|
24 |
def role_to_streamlit(role):
|