mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
close Issue #165
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user