remove clip as requirement

Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2026-02-12 08:40:10 +01:00
parent 3ee816888e
commit 88db926ecd
6 changed files with 11 additions and 33 deletions
+2
View File
@@ -102,6 +102,8 @@ def get_clip_models():
def refresh_clip_models():
from installer import install
install('open-clip-torch', no_deps=True, quiet=True)
global clip_models # pylint: disable=global-statement
import open_clip
models = sorted(open_clip.list_pretrained())