howard9963 commited on
Commit
00accf7
·
verified ·
1 Parent(s): d363f25

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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() as demo:
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 方法:斷詞