mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-22 15:53:58 +00:00
fix img2img batch upload
This commit is contained in:
@@ -157,6 +157,9 @@ def img2img_function(id_task: str, request: gr.Request, mode: int, prompt: str,
|
||||
|
||||
height, width = int(height), int(width)
|
||||
|
||||
image = None
|
||||
mask = None
|
||||
|
||||
if mode == 0: # img2img
|
||||
image = init_img
|
||||
mask = None
|
||||
|
||||
Reference in New Issue
Block a user