mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
handle huggingface model variant fallback
This commit is contained in:
@@ -365,7 +365,7 @@ def control_run(units: List[unit.Unit], inputs, inits, mask, unit_type: str, is_
|
||||
)
|
||||
if processed_image is not None:
|
||||
processed_images.append(processed_image)
|
||||
if shared.opts.control_unload_processor:
|
||||
if shared.opts.control_unload_processor and process.processor_id is not None:
|
||||
processors.config[process.processor_id]['dirty'] = True # to force reload
|
||||
process.model = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user