fashxp/zero-shot-image-classification
0
1---2tags:3- vision4- zero-shot-image-classification5- endpoints-template6inference: true7pipeline_tag: zero-shot-image-classification8base_model: openai/clip-vit-large-patch149library_name: generic10---11 12# Fork of [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32) for a `zero-sho-image-classification` Inference endpoint.13 14This repository implements a `custom` task for `zero-shot-image-classification` for 🤗 Inference Endpoints. The code for the customized 15pipeline is in the handler.py.16 17To use deploy this model an Inference Endpoint you have to select `Custom` as task to use the `handler.py` file. 18 19### expected Request payload20 21```json22{23 "image": encoded_image,24 "parameters": {25 "candidate_labels": "green, yellow, blue, white, silver"26 }27}28```29 