Spaces:
Sleeping
Sleeping
Update meaw.py
Browse files
meaw.py
CHANGED
|
@@ -79,7 +79,7 @@ def predict(image_path: str):
|
|
| 79 |
result_img = out.get_image()[:, :, ::-1]
|
| 80 |
|
| 81 |
# -----------------------------
|
| 82 |
-
# 4. API
|
| 83 |
# -----------------------------
|
| 84 |
@app.post("/predict")
|
| 85 |
async def predict(file: UploadFile = File(...)):
|
|
|
|
| 79 |
result_img = out.get_image()[:, :, ::-1]
|
| 80 |
|
| 81 |
# -----------------------------
|
| 82 |
+
# 4. API Endpointt
|
| 83 |
# -----------------------------
|
| 84 |
@app.post("/predict")
|
| 85 |
async def predict(file: UploadFile = File(...)):
|