Add root route to FastAPI app
Browse files- 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]]
|