mirror of
https://github.com/vladmandic/automatic
synced 2026-08-29 08:31:00 +02:00
cleanup logging and update requirements
Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
@@ -510,7 +510,7 @@ def update_pipeline(sd_model, p: processing.StableDiffusionProcessing):
|
||||
if sd_model is None:
|
||||
sd_model = shared.sd_model
|
||||
if sd_model is None:
|
||||
shared.log.warning('Processing: op=update model not loaded')
|
||||
log.warning('Processing: op=update model not loaded')
|
||||
return None
|
||||
updated_model = sd_model
|
||||
if sd_models.get_diffusers_task(sd_model) == sd_models.DiffusersTaskType.INPAINTING and getattr(p, 'image_mask', None) is None and p.task_args.get('image_mask', None) is None and getattr(p, 'mask', None) is None:
|
||||
|
||||
Reference in New Issue
Block a user