Spaces:
Running
Running
vlff李飞飞
commited on
Commit
·
0024d65
1
Parent(s):
b48806d
update oai
Browse files
qwen_server/database_server.py
CHANGED
@@ -74,6 +74,11 @@ def change_checkbox_state(text, cache_file):
|
|
74 |
return {'result': 'changed'}
|
75 |
|
76 |
|
|
|
|
|
|
|
|
|
|
|
77 |
@app.post('/endpoint')
|
78 |
async def web_listening(request: Request):
|
79 |
data = await request.json()
|
|
|
74 |
return {'result': 'changed'}
|
75 |
|
76 |
|
77 |
+
@app.get('/healthz')
|
78 |
+
async def healthz(request: Request):
|
79 |
+
return JSONResponse({"healthz": True})
|
80 |
+
|
81 |
+
|
82 |
@app.post('/endpoint')
|
83 |
async def web_listening(request: Request):
|
84 |
data = await request.json()
|