Docfile commited on
Commit
795ae92
·
verified ·
1 Parent(s): 8ee0b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -32,17 +32,16 @@ os.makedirs('solutions', exist_ok=True)
32
  ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'bmp', 'tiff'}
33
 
34
  # Configuration Gemini API
35
- os.environ["GEMINI_API_KEY"] = os.environ.get("GEMINI_API_KEY", "your_api_key_here")
36
 
37
  # Dictionnaire global pour stocker les tâches en cours
38
  active_tasks = {}
39
 
40
  # Configuration du LLM
41
  llm = LLM(
42
- model="gemini/gemini-2.0-flash",
43
  temperature=0.1,
44
- timeout=120,
45
- max_tokens=8000,
46
  )
47
 
48
  # Paramètres du pipeline
 
32
  ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'bmp', 'tiff'}
33
 
34
  # Configuration Gemini API
35
+ os.environ["GEMINI_API_KEY"] = os.environ.get("GEMINI_API_KEY", "AIzaSyAMYpF67aqFnWDJESWOx1dC-w3sEU29VcM")
36
 
37
  # Dictionnaire global pour stocker les tâches en cours
38
  active_tasks = {}
39
 
40
  # Configuration du LLM
41
  llm = LLM(
42
+ model="gemini/gemini-2.5-flash",
43
  temperature=0.1,
44
+
 
45
  )
46
 
47
  # Paramètres du pipeline