jflo commited on
Commit
b3e94c2
·
verified ·
1 Parent(s): 5c838b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
  """