add alternative insightfacex

This commit is contained in:
Vladimir Mandic
2026-02-20 21:09:43 +01:00
parent fce682f1d6
commit 58fe1f59ff
6 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ orig_pipeline, orig_prompt_attention = None, None
def verify_insightface():
from installer import installed, install_insightface
if not installed('insightface', quiet=True):
if not installed('insightface', quiet=True) and not installed('insightfacex', quiet=True):
install_insightface()
+1 -1
View File
@@ -30,7 +30,7 @@ class Script(scripts_manager.Script):
def dependencies(self):
from installer import installed, install, install_insightface
if not installed('insightface', quiet=True):
if not installed('insightface', quiet=True) and not installed('insightfacex', quiet=True):
install_insightface()
if not installed('torchdiffeq'):
install('torchdiffeq')