Merge pull request #14314 from gayshub/master

Add allow specify the task id and get the location of task in the queue of pending task
This commit is contained in:
AUTOMATIC1111
2023-12-16 11:01:42 +03:00
committed by GitHub
4 changed files with 40 additions and 4 deletions

View File

@@ -1060,6 +1060,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
hr_sampler_name: str = None
hr_prompt: str = ''
hr_negative_prompt: str = ''
force_task_id: str = None
cached_hr_uc = [None, None]
cached_hr_c = [None, None]
@@ -1393,6 +1394,7 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
inpainting_mask_invert: int = 0
initial_noise_multiplier: float = None
latent_mask: Image = None
force_task_id: str = None
image_mask: Any = field(default=None, init=False)