Metadata-Version: 2.1
Name: soco_clip
Version: 0.0.8
Summary: OpenAI CLIP wrapper
Home-page: https://www.soco.ai
Author: kyusonglee
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: Free for non-commercial use
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# soco-clip

## How to install
```
pip install soco-clip
```

## Download model
```
wget https://openaipublic.azureedge.net/clip/models/5806e77cd80f8b59890b7e101eabd078d9fb84e6937f9e85e4ecb61988df416f/ViT-B-16.pt
```

## Examples
```
from soco_clip import CLIP

encoder = CLIP()

encoded_texts = encoder.texts(["standing","sitting"])
encoded_images = encoder.images(["a.jpg","b.jpg"])
video_texts_result = encoder.video_texts("a.mp4",["standing","sitting"])

```



