API réception alertes chute (SmartEye/YOLO), analyse IA (Gemini 2.5 Flash), gestion alertes avec escalade (watchdog), notifications Firebase, dashboard web, documentation MkDocs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
379 B
Python
Executable File
14 lines
379 B
Python
Executable File
import google.generativeai as genai
|
|
import os
|
|
|
|
API_KEY = "AIzaSyC5wIc9nrhtbVesHqodil6V6-WIxkJFSHA"
|
|
genai.configure(api_key=API_KEY)
|
|
|
|
print("🔍 Recherche des modèles disponibles...")
|
|
try:
|
|
for m in genai.list_models():
|
|
if 'generateContent' in m.supported_generation_methods:
|
|
print(f"👉 {m.name}")
|
|
except Exception as e:
|
|
print(f"❌ Erreur : {e}")
|