mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add alternative insightfacex
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user