File size: 445 Bytes
42762fe 1d550b1 322bbb4 42762fe 38cd196 322bbb4 42762fe 322bbb4 42762fe 322bbb4 42762fe c715ac1 42762fe |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
---
tags:
- image-to-text
- image-captioning
- endpoints-template
license: bsd-3-clause
library_name: generic
---
## salesforce/BLIP for 🤗Inference endpoint deployment.
### Expected payload:
Curl:
```json
curl URL \
-X POST \
--data-binary @car.png \
-H "Content-Type: image/png"
```
Python:
```python
requests.post(ENDPOINT_URL, headers={"Content-Type": "image/png"}, data=open("car.png", 'rb').read()).json()
```
|