diff options
author | Artem Zagidulin <p0chta@yandex.ru> | 2022-10-09 13:14:56 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-09 15:35:25 +0000 |
commit | 9ecea0a8d6bdc434755e11128487fd62f1ff130f (patch) | |
tree | 0bfe18f7dc7d1d63c666de43b629a9df02bdbd63 | |
parent | d3cd46b0388918128af203fda37fa63461c46611 (diff) | |
download | stable-diffusion-webui-gfx803-9ecea0a8d6bdc434755e11128487fd62f1ff130f.tar.gz stable-diffusion-webui-gfx803-9ecea0a8d6bdc434755e11128487fd62f1ff130f.tar.bz2 stable-diffusion-webui-gfx803-9ecea0a8d6bdc434755e11128487fd62f1ff130f.zip |
fix missing png info when Extras Batch Process
-rw-r--r-- | modules/extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extras.py b/modules/extras.py index 39dd3806..41e8612c 100644 --- a/modules/extras.py +++ b/modules/extras.py @@ -29,7 +29,7 @@ def run_extras(extras_mode, image, image_folder, gfpgan_visibility, codeformer_v if extras_mode == 1:
#convert file to pillow image
for img in image_folder:
- image = Image.fromarray(np.array(Image.open(img)))
+ image = Image.open(img)
imageArr.append(image)
imageNameArr.append(os.path.splitext(img.orig_name)[0])
else:
|