Docfile commited on
Commit
de5608c
·
verified ·
1 Parent(s): 0f75c3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ os.makedirs(UPLOAD_FOLDER, exist_ok=True)
27
  print(f"Dossier d'upload configuré : {os.path.abspath(UPLOAD_FOLDER)}")
28
 
29
  # --- Configuration de l'API Gemini ---
30
- MODEL_FLASH = 'gemini-1.5-flash-latest' # Default model
31
- MODEL_PRO = 'gemini-1.5-pro-latest' # Advanced model
32
  SYSTEM_INSTRUCTION = "Tu es un assistant intelligent et amical nommé Mariam. Tu assistes les utilisateurs au mieux de tes capacités. Tu as été créé par Aenir."
33
  SAFETY_SETTINGS = [
34
  {"category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE"},
 
27
  print(f"Dossier d'upload configuré : {os.path.abspath(UPLOAD_FOLDER)}")
28
 
29
  # --- Configuration de l'API Gemini ---
30
+ MODEL_FLASH = 'gemini-2.0-flash' # Default model
31
+ MODEL_PRO = 'gemini-2.5-pro-exp-03-23' # Advanced model
32
  SYSTEM_INSTRUCTION = "Tu es un assistant intelligent et amical nommé Mariam. Tu assistes les utilisateurs au mieux de tes capacités. Tu as été créé par Aenir."
33
  SAFETY_SETTINGS = [
34
  {"category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE"},