Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -75,6 +75,7 @@ class WaifuDiffusionInterrogator:
|
|
75 |
_, height, _, _ = self._model.get_inputs()[0].shape
|
76 |
|
77 |
# alpha to white
|
|
|
78 |
image = image.convert('RGBA')
|
79 |
new_image = Image.new('RGBA', image.size, 'WHITE')
|
80 |
new_image.paste(image, mask=image)
|
|
|
75 |
_, height, _, _ = self._model.get_inputs()[0].shape
|
76 |
|
77 |
# alpha to white
|
78 |
+
print(image)
|
79 |
image = image.convert('RGBA')
|
80 |
new_image = Image.new('RGBA', image.size, 'WHITE')
|
81 |
new_image.paste(image, mask=image)
|