hellojebus's picture
chore: update read me
255ca59
|
raw
history blame contribute delete
No virus
785 Bytes
---
tags:
- image-to-text
- image-captioning
- endpoints-template
license: apache-2.0
---
# Fork of [salesforce/BLIP](https://github.com/salesforce/BLIP) for a `image-captioning` task on 🤗Inference endpoint.
This repo uses a [custom handler](https://huggingface.co/docs/inference-endpoints/guides/custom_handler) that allows an Inference Endpoint to accept an array of URLs to be used by the BLIP model.
This repo also expands on [florentgbelidji/blip_captioning](https://huggingface.co/florentgbelidji/blip_captioning)
## Expected Payload
```json
{
"inputs": [
"https://url.to/image_1.jpg",
"https://url.to/image_2.jpg",
]
}
```
## Response Payload
```json
{
"captions": [
"a caption for the first image",
"a caption for the second image"
]
}
```