Srastog commited on
Commit
d805bce
·
1 Parent(s): 4b218fe
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -5,13 +5,9 @@ from utils import classify_img,get_alzheimer_model
5
 
6
  app=FastAPI(title="Alzheimer Detection API")
7
 
8
- @app.get("/")
9
- def message():
10
- return {"msg","Welcome"}
11
-
12
  @app.get("/generate")
13
  def display(text: str):
14
- return {"yoy",text}
15
 
16
  """@app.post("/predict")
17
  def predict(file: UploadFile):
 
5
 
6
  app=FastAPI(title="Alzheimer Detection API")
7
 
 
 
 
 
8
  @app.get("/generate")
9
  def display(text: str):
10
+ return {"yoy":text}
11
 
12
  """@app.post("/predict")
13
  def predict(file: UploadFile):