mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
@@ -28,9 +28,11 @@ class Script(scripts_manager.Script):
|
||||
return True
|
||||
|
||||
def dependencies(self):
|
||||
from installer import installed, install_insightface
|
||||
from installer import installed, install, install_insightface
|
||||
if not installed('insightface', reload=False, quiet=True):
|
||||
install_insightface()
|
||||
if not installed('torchdiffeq'):
|
||||
install('torchdiffeq')
|
||||
|
||||
def register(self): # register xyz grid elements
|
||||
global registered # pylint: disable=global-statement
|
||||
|
||||
Reference in New Issue
Block a user