Browse Source

Update readme

replicate
pharmapsychotic 2 years ago
parent
commit
f4abcdfd0c
  1. 6
      README.md

6
README.md

@ -39,8 +39,8 @@ pip install clip-interrogator
You can then use it in your script
```python
from PIL import Image
from clip_interrogator import CLIPInterrogator, Config
from clip_interrogator import Interrogator, Config
image = Image.open(image_path).convert('RGB')
interrogator = CLIPInterrogator(Config(clip_model_name="ViT-L/14"))
print(interrogator.interrogate(image))
ci = Interrogator(Config(clip_model_name="ViT-L/14"))
print(ci.interrogate(image))
```

Loading…
Cancel
Save