Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hlky committed Sep 1, 2022
1 parent 1922a44 commit 5116909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ def img2img(prompt: str, image_editor_mode: str, init_info, mask_mode: str, mask
def init():
image = init_img.convert("RGB")
image = resize_image(resize_mode, image, width, height)
image = init_img.convert("RGB")
#image = init_img.convert("RGB")
image = np.array(image).astype(np.float32) / 255.0
image = image[None].transpose(0, 3, 1, 2)
image = torch.from_numpy(image)
Expand Down

0 comments on commit 5116909

Please sign in to comment.