-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
This part of README seems wrong because https://github.com/bentoml/BentoYolo/blob/main/service.py#L26-L29 uses batchable=True
Part of README.md:
CURL
curl -X 'POST' \
'http://localhost:3000/predict' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'image=@demo-image.jpg;type=image/jpeg'
Python client
import bentoml
from pathlib import Path
with bentoml.SyncHTTPClient("http://localhost:3000") as client:
result = client.predict(
image=Path("demo-image.jpg"),
)
Metadata
Metadata
Assignees
Labels
No labels