Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ TELEGRAM_CHAT_ID = os.environ.get("TELEGRAM_CHAT_ID")
|
|
22 |
# Initialisation du client GenAI
|
23 |
try:
|
24 |
client = genai.Client(api_key=GOOGLE_API_KEY)
|
25 |
-
MODEL_NAME = "gemini-
|
26 |
except Exception as e:
|
27 |
print(f"Erreur lors de l'initialisation du client GenAI : {e}")
|
28 |
client = None
|
|
|
22 |
# Initialisation du client GenAI
|
23 |
try:
|
24 |
client = genai.Client(api_key=GOOGLE_API_KEY)
|
25 |
+
MODEL_NAME = "gemini-2.5-flash" # Utilisons un modèle plus puissant pour ces tâches
|
26 |
except Exception as e:
|
27 |
print(f"Erreur lors de l'initialisation du client GenAI : {e}")
|
28 |
client = None
|