fix console total progress bar when using txt2img_upscale

add p.txt2img_upscale as indicator
This commit is contained in:
w-e-w
2024-01-18 04:44:21 +09:00
parent e1dfd452c0
commit 2cf23099eb
2 changed files with 6 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ def txt2img_upscale(id_task: str, request: gr.Request, gallery, gallery_index, g
p.enable_hr = True
p.batch_size = 1
p.n_iter = 1
p.txt2img_upscale = True
geninfo = json.loads(generation_info)