close Issue #165

This commit is contained in:
Lincoln Stein
2022-08-28 18:21:20 -04:00
parent ac02a775e4
commit 8bbe7936bd
3 changed files with 10 additions and 11 deletions

View File

@@ -208,7 +208,7 @@ class T2I:
# these are specific to img2img
init_img=None,
strength=None,
gfpgan_strength=None,
gfpgan_strength=0,
save_original=False,
upscale=None,
variants=None,
@@ -592,6 +592,7 @@ class T2I:
return model
def _load_img(self, path):
print(f'image path = {path}, cwd = {os.getcwd()}')
with Image.open(path) as img:
image = img.convert('RGB')