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
+1 -1
View File
@@ -8,7 +8,7 @@ def lang_detect(text:str, top:int=1, threshold:float=0.25) -> str:
from modules import shared
if model is None:
from installer import install
install("fasttext")
install('fasttext')
import fasttext
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id, filename="model.bin", cache_dir=shared.opts.hfcache_dir)