mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
add alternative insightfacex
This commit is contained in:
@@ -11,7 +11,7 @@ def get_app(mp_name, threshold=0.5, resolution=640):
|
||||
global insightface_app, instightface_mp # pylint: disable=global-statement
|
||||
|
||||
from installer import install, installed, 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('ip_adapter', quiet=True):
|
||||
install('git+https://github.com/tencent-ailab/IP-Adapter.git', 'ip_adapter', ignore=False)
|
||||
|
||||
Reference in New Issue
Block a user