Commit
·
a97e237
1
Parent(s):
f82bd5f
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,7 @@ You'll need to use the original CLIP preprocessor (or write your own preprocessi
|
|
| 13 |
```
|
| 14 |
from transformers import CLIPProcessor
|
| 15 |
import coremltools as ct
|
|
|
|
| 16 |
|
| 17 |
preprocessor = CLIPProcessor.from_pretrained("laion/CLIP-ViT-H-14-laion2B-s32B-b79K")
|
| 18 |
|
|
|
|
| 13 |
```
|
| 14 |
from transformers import CLIPProcessor
|
| 15 |
import coremltools as ct
|
| 16 |
+
from PIL import Image
|
| 17 |
|
| 18 |
preprocessor = CLIPProcessor.from_pretrained("laion/CLIP-ViT-H-14-laion2B-s32B-b79K")
|
| 19 |
|