Docfile commited on
Commit
e07ae75
·
verified ·
1 Parent(s): f4e3456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-exp',
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):