mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
generate api endpoints allow set model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -119,6 +119,9 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
|
||||
if not hasattr(p.sd_model, 'sd_checkpoint_info'):
|
||||
shared.log.error('Processing: incomplete model')
|
||||
return None
|
||||
if p.abort:
|
||||
shared.log.debug('Processing: aborted')
|
||||
return None
|
||||
if p.scripts is not None and isinstance(p.scripts, scripts_manager.ScriptRunner):
|
||||
p.scripts.before_process(p)
|
||||
stored_opts = {}
|
||||
|
||||
Reference in New Issue
Block a user