mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-04 15:09:56 +00:00
Update legacy_preprocessor_loader.py
This commit is contained in:
@@ -28,7 +28,7 @@ for k in ui_preprocessor_keys:
|
||||
print(f'bad key {real_key}')
|
||||
continue
|
||||
p.legacy_call_function = cn_preprocessor_modules[real_key]
|
||||
p.legacy_unload_function = cn_preprocessor_unloadable.get(real_key, None)
|
||||
p.legacy_unload_function = cn_preprocessor_unloadable.get(real_key, lambda: None)
|
||||
legacy_preprocessors[k] = p
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user