Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -838,9 +838,8 @@ def gemini_pro(item: GeminiPro):
|
|
838 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
839 |
try:
|
840 |
geni = GeminiLatest(
|
841 |
-
|
842 |
mongo_url=item.mongo_url,
|
843 |
-
version=item.version,
|
844 |
user_id=item.user_id
|
845 |
)
|
846 |
cybersecuritydb(item.user_id, item.mongo_url)
|
|
|
838 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
839 |
try:
|
840 |
geni = GeminiLatest(
|
841 |
+
api_keys=selected_api_key,
|
842 |
mongo_url=item.mongo_url,
|
|
|
843 |
user_id=item.user_id
|
844 |
)
|
845 |
cybersecuritydb(item.user_id, item.mongo_url)
|