Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
|
| 31 |
def setup_gemini():
|
| 32 |
"""Initialize Gemini API with error handling"""
|
| 33 |
try:
|
| 34 |
-
genai.configure(api_key=
|
| 35 |
return True
|
| 36 |
except Exception as e:
|
| 37 |
logging.error(f"Failed to configure Gemini API: {str(e)}")
|
|
|
|
| 31 |
def setup_gemini():
|
| 32 |
"""Initialize Gemini API with error handling"""
|
| 33 |
try:
|
| 34 |
+
genai.configure(api_key="AIzaSyArihOGcyK5KcQR4ntIqNga6bSoq7kM7Yo")
|
| 35 |
return True
|
| 36 |
except Exception as e:
|
| 37 |
logging.error(f"Failed to configure Gemini API: {str(e)}")
|