Docfile commited on
Commit
89f2c5a
·
verified ·
1 Parent(s): 72be1d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def initialize_genai_client():
35
  if not GOOGLE_API_KEY:
36
  return None, "Clé API Google non trouvée dans les variables d'environnement."
37
 
38
- client = genai.Client(api_key=GOOGLE_API_KEY, http_options={'api_version':'v1alpha'})
39
  return client, "✅ Client Mariam AI initialisé."
40
  except Exception as e:
41
  return None, f"❌ Erreur lors de l'initialisation du client: {str(e)}"
 
35
  if not GOOGLE_API_KEY:
36
  return None, "Clé API Google non trouvée dans les variables d'environnement."
37
 
38
+ client = genai.Client(api_key=GOOGLE_API_KEY)
39
  return client, "✅ Client Mariam AI initialisé."
40
  except Exception as e:
41
  return None, f"❌ Erreur lors de l'initialisation du client: {str(e)}"