Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -282,8 +282,9 @@ def gemini_pro(item: GeminiPro):
|
|
| 282 |
"chat_history": gemini_chat
|
| 283 |
}
|
| 284 |
)
|
| 285 |
-
except Exception:
|
| 286 |
-
|
|
|
|
| 287 |
else:
|
| 288 |
if item.is_login:
|
| 289 |
token = item.bard_api_key
|
|
|
|
| 282 |
"chat_history": gemini_chat
|
| 283 |
}
|
| 284 |
)
|
| 285 |
+
except Exception as excep:
|
| 286 |
+
logger.info(f"Error: {excep}")
|
| 287 |
+
# return SuccessResponse(status="False", randydev={"message": contact_support})
|
| 288 |
else:
|
| 289 |
if item.is_login:
|
| 290 |
token = item.bard_api_key
|