mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
refactor backend detection
This commit is contained in:
@@ -41,6 +41,8 @@ def apply_layerdiffuse_sdxl_conv(pipeline):
|
||||
|
||||
|
||||
def apply_layerdiffuse():
|
||||
if not shared.native:
|
||||
return
|
||||
try:
|
||||
if shared.sd_model_type == 'sd':
|
||||
shared.log.info(f'LayerDiffuse: class={shared.sd_model.__class__.__name__}')
|
||||
|
||||
Reference in New Issue
Block a user