Spaces:
Running
Running
Commit ·
cb92744
1
Parent(s): 6adae80
- routers/llm_router.py +3 -4
routers/llm_router.py
CHANGED
|
@@ -20,9 +20,8 @@ def test_home():
|
|
| 20 |
LIMIT 1
|
| 21 |
""")
|
| 22 |
row = cur.fetchone()
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
return CommonResponse(success=True)
|
| 27 |
except Exception as e:
|
| 28 |
return CommonResponse(success=False, msg=str(e))
|
|
|
|
| 20 |
LIMIT 1
|
| 21 |
""")
|
| 22 |
row = cur.fetchone()
|
| 23 |
+
pollination_api_key=row[0] if row else None
|
| 24 |
+
|
| 25 |
+
return CommonResponse(success=True, data=pollination_api_key)
|
|
|
|
| 26 |
except Exception as e:
|
| 27 |
return CommonResponse(success=False, msg=str(e))
|