Spaces:
Sleeping
Sleeping
anh-khoa-nguyen
commited on
Commit
·
2b6d56f
1
Parent(s):
c4ea8b1
add /
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -63,7 +63,7 @@ async def root():
|
|
| 63 |
return RedirectResponse(url="/docs")
|
| 64 |
|
| 65 |
|
| 66 |
-
@app.post("/predict", response_model=PredictionResponse)
|
| 67 |
def predict_scam(request: ListingRequest):
|
| 68 |
"""
|
| 69 |
Nhận dữ liệu tin đăng và trả về dự đoán lừa đảo.
|
|
|
|
| 63 |
return RedirectResponse(url="/docs")
|
| 64 |
|
| 65 |
|
| 66 |
+
@app.post("/predict/", response_model=PredictionResponse)
|
| 67 |
def predict_scam(request: ListingRequest):
|
| 68 |
"""
|
| 69 |
Nhận dữ liệu tin đăng và trả về dự đoán lừa đảo.
|