Views
No views yet
image-to-image Inference endpoint.Inspired by https://huggingface.co/sergeipetrov/dat-x2-ie
custom task for image-to-image for 🤗 Inference Endpoints to allow image up scaling by doubling image resolution.
The code for the customized pipeline is in the handler.py.Custom as task to use the handler.py file.curl URL \
-X POST \
--data-binary @car.png \
-H "Content-Type: image/png"requests.post(ENDPOINT_URL, headers={"Content-Type": "image/png"}, data=open("car.png", 'rb').read()).json()