Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def gen(seed=None):
|
|
58 |
crop() # Crop the generated images
|
59 |
imgArr = []
|
60 |
for i in range(4):
|
61 |
-
img = Image.open(f"{i}.png").convert('
|
62 |
img = img.resize((64, 64), Image.NEAREST)
|
63 |
imgArr.append(img)
|
64 |
return imgArr, seed # Return both images and the seed used
|
|
|
58 |
crop() # Crop the generated images
|
59 |
imgArr = []
|
60 |
for i in range(4):
|
61 |
+
img = Image.open(f"{i}.png").convert('RGBA')
|
62 |
img = img.resize((64, 64), Image.NEAREST)
|
63 |
imgArr.append(img)
|
64 |
return imgArr, seed # Return both images and the seed used
|