Shymaa2611 commited on
Commit ·
39afe31
1
Parent(s): 8e6738e
update
Browse files
api.py
CHANGED
|
@@ -19,6 +19,11 @@ async def predict(data: InputData):
|
|
| 19 |
return result
|
| 20 |
|
| 21 |
|
| 22 |
-
@app.
|
| 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"
|