riu-rd commited on
Commit
8fb8668
·
verified ·
1 Parent(s): 8ff276b

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +0 -5
api.py CHANGED
@@ -53,12 +53,7 @@ app.add_middleware(
53
 
54
  # APIs
55
  @app.get("/")
56
- async def welcome():
57
- return {"message":"Hello, this is the API server for Sentimetry. Go to /docs to test the APIs."}
58
-
59
- @app.get("/d")
60
  async def docs():
61
- # return {"message":"Hello, this is the API server for Sentimetry. Go to /docs to test the APIs."}
62
  return RedirectResponse(url="/docs")
63
 
64
  @app.post("/logistic-regression")
 
53
 
54
  # APIs
55
  @app.get("/")
 
 
 
 
56
  async def docs():
 
57
  return RedirectResponse(url="/docs")
58
 
59
  @app.post("/logistic-regression")