Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -107,7 +107,7 @@ async def list_models(authorization: str = Header(None)):
|
|
107 |
await verify_authorization(authorization)
|
108 |
async with key_lock:
|
109 |
api_key = next(key_cycle)
|
110 |
-
logger.info(f"Using API key: {api_key
|
111 |
try:
|
112 |
response = get_gemini_models(api_key)
|
113 |
logger.info("Successfully retrieved models list")
|
|
|
107 |
await verify_authorization(authorization)
|
108 |
async with key_lock:
|
109 |
api_key = next(key_cycle)
|
110 |
+
logger.info(f"Using API key: {api_key}")
|
111 |
try:
|
112 |
response = get_gemini_models(api_key)
|
113 |
logger.info("Successfully retrieved models list")
|