[Images] Remove 'clip' from the list of depdencies since pypi doesn't allow it (#766)

This commit is contained in:
Deshraj Yadav
2023-10-04 17:08:27 -07:00
committed by GitHub
parent 64a34cac32
commit 8863983c7b
3 changed files with 42 additions and 36 deletions

View File

@@ -3,7 +3,9 @@ try:
import torch
from PIL import Image, UnidentifiedImageError
except ImportError:
raise ImportError("Images requires extra dependencies. Install with `pip install embedchain[images]`") from None
raise ImportError(
"Images requires extra dependencies. Install with `pip install 'embedchain[images]' git+https://github.com/openai/CLIP.git#a1d0717`" # noqa: E501
) from None
MODEL_NAME = "ViT-B/32"