Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ app = FastAPI(title="CKIP Word Segmentation API")
|
|
12 |
|
13 |
# ✅ GET 方法:健康檢查
|
14 |
@app.get("/check")
|
15 |
-
def health_check()
|
16 |
return {"status": "ok", "message": "API is running"}
|
17 |
|
18 |
# ✅ POST 方法:斷詞
|
|
|
12 |
|
13 |
# ✅ GET 方法:健康檢查
|
14 |
@app.get("/check")
|
15 |
+
def health_check():
|
16 |
return {"status": "ok", "message": "API is running"}
|
17 |
|
18 |
# ✅ POST 方法:斷詞
|