user1729 commited on
Commit
c22866b
·
1 Parent(s): 3bf0515

Add root route to FastAPI app

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -18,7 +18,7 @@ app = FastAPI(
18
 
19
  @app.get("/")
20
  def read_root():
21
- return JSONResponse({"message": "Cancer Classify & Extract API is live 🚀"})
22
 
23
  class TextInput(BaseModel):
24
  text: Union[str, List[str]]
 
18
 
19
  @app.get("/")
20
  def read_root():
21
+ return JSONResponse({"message": "Cancer Classify & Extract API is live 🚀, Access Endpoint: /process"})
22
 
23
  class TextInput(BaseModel):
24
  text: Union[str, List[str]]