HaiderAUT commited on
Commit
b3be6b9
·
verified ·
1 Parent(s): 6447932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -20,7 +20,10 @@ else:
20
  # gemini_features_enabled = True
21
  # --- Configure the Gemini client ---
22
  try:
23
- genai.configure(api_key=gemini_api_key)
 
 
 
24
  print("Gemini client configured successfully.")
25
  # You can now initialize your model, e.g.:
26
  # model = genai.GenerativeModel('gemini-pro')
 
20
  # gemini_features_enabled = True
21
  # --- Configure the Gemini client ---
22
  try:
23
+
24
+
25
+
26
+ client = genai.Client(api_key=gemini_api_key)
27
  print("Gemini client configured successfully.")
28
  # You can now initialize your model, e.g.:
29
  # model = genai.GenerativeModel('gemini-pro')