mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
fixes for B007
This commit is contained in:
parent
550256db1c
commit
a5121e7a06
28 changed files with 57 additions and 62 deletions
|
|
@ -55,7 +55,7 @@ class Upscaler:
|
|||
dest_w = int(img.width * scale)
|
||||
dest_h = int(img.height * scale)
|
||||
|
||||
for i in range(3):
|
||||
for _ in range(3):
|
||||
shape = (img.width, img.height)
|
||||
|
||||
img = self.do_upscale(img, selected_model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue