Shymaa2611 commited on
Commit
39afe31
·
1 Parent(s): 8e6738e
Files changed (1) hide show
  1. api.py +6 -1
api.py CHANGED
@@ -19,6 +19,11 @@ async def predict(data: InputData):
19
  return result
20
 
21
 
22
- @app.post("/get_predict")
23
  async def get_predict():
24
  return get_latest_prediction()
 
 
 
 
 
 
19
  return result
20
 
21
 
22
+ @app.get("/get_predict")
23
  async def get_predict():
24
  return get_latest_prediction()
25
+
26
+
27
+ @app.get("/")
28
+ async def done():
29
+ return "It is Work"