Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,10 @@ else:
|
|
20 |
# gemini_features_enabled = True
|
21 |
# --- Configure the Gemini client ---
|
22 |
try:
|
23 |
-
|
|
|
|
|
|
|
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')
|