Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,7 +198,7 @@ def health():
|
|
| 198 |
}
|
| 199 |
|
| 200 |
|
| 201 |
-
@app.post("/classify", response_model=PostWorkoutSessionResponse,
|
| 202 |
dependencies=[Depends(verify_key)])
|
| 203 |
def post_classify_session(req: PostWorkoutRequest):
|
| 204 |
"""
|
|
@@ -255,7 +255,7 @@ def post_classify_session(req: PostWorkoutRequest):
|
|
| 255 |
)
|
| 256 |
|
| 257 |
|
| 258 |
-
@app.post("/classify/labels-only", response_model=PostWorkoutBertLabels,
|
| 259 |
dependencies=[Depends(verify_key)])
|
| 260 |
def post_classify_labels_only(req: PostWorkoutRequest):
|
| 261 |
"""
|
|
|
|
| 198 |
}
|
| 199 |
|
| 200 |
|
| 201 |
+
@app.post("/post-classify", response_model=PostWorkoutSessionResponse,
|
| 202 |
dependencies=[Depends(verify_key)])
|
| 203 |
def post_classify_session(req: PostWorkoutRequest):
|
| 204 |
"""
|
|
|
|
| 255 |
)
|
| 256 |
|
| 257 |
|
| 258 |
+
@app.post("/post-classify/labels-only", response_model=PostWorkoutBertLabels,
|
| 259 |
dependencies=[Depends(verify_key)])
|
| 260 |
def post_classify_labels_only(req: PostWorkoutRequest):
|
| 261 |
"""
|