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