mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Add job argument to State.begin()
This commit is contained in:
parent
b70001e618
commit
f44feb6a10
6 changed files with 13 additions and 16 deletions
|
|
@ -9,8 +9,7 @@ from modules.shared import opts
|
|||
def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir, show_extras_results, *args, save_output: bool = True):
|
||||
devices.torch_gc()
|
||||
|
||||
shared.state.begin()
|
||||
shared.state.job = 'extras'
|
||||
shared.state.begin(job="extras")
|
||||
|
||||
image_data = []
|
||||
image_names = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue