Add initial implementation of Hugging Face Inference Endpoint with model handling and request/response schemas
321aee7 Download examples/segmentation.request.json from phongphamthe/inference-endpoint-poc: direct link, hf CLI and curl.
- Browser
- Download file 254 Bytes
-
https://huggingface.co/phongphamthe/inference-endpoint-poc/resolve/main/examples/segmentation.request.json
- Command line
-
hf download hf://phongphamthe/inference-endpoint-poc/examples/segmentation.request.json
-
curl -L -o segmentation.request.json https://huggingface.co/phongphamthe/inference-endpoint-poc/resolve/main/examples/segmentation.request.json
254 Bytes
| { | |
| "inputs": [ | |
| { | |
| "image_id": "image-0", | |
| "image_base64": "REPLACE_WITH_BASE64_PNG_OR_JPEG" | |
| } | |
| ], | |
| "task": "object_segmentation", | |
| "parameters": { | |
| "text_query": "pavement crack", | |
| "confidence_threshold": 0.5 | |
| } | |
| } |