mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add support for nunchaku-lite models and engine
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -198,6 +198,8 @@ def check_nunchaku(module: str = ''):
|
||||
from modules import shared
|
||||
if 'nunchaku' not in shared.opts.sd_model_checkpoint.lower():
|
||||
return False
|
||||
if 'nunchaku-lite' in shared.opts.sd_model_checkpoint.lower():
|
||||
return False
|
||||
base_path = shared.opts.sd_model_checkpoint.split('+')[0]
|
||||
for v in shared.reference_models.values():
|
||||
if v.get('path', '') != base_path:
|
||||
|
||||
Reference in New Issue
Block a user