blip_captioning / README.md
sergeipetrov's picture
sergeipetrov HF staff
Update README.md
1d550b1 verified
metadata
tags:
  - image-to-text
  - image-captioning
  - endpoints-template
license: bsd-3-clause
library_name: generic

salesforce/BLIP for 🤗Inference endpoint deployment.

Expected payload:

Curl:

curl URL \
        -X POST \
        --data-binary @car.png \
        -H "Content-Type: image/png"

Python:

requests.post(ENDPOINT_URL, headers={"Content-Type": "image/png"}, data=open("car.png", 'rb').read()).json()