Spaces:
Runtime error
Runtime error
tori29umai
commited on
Commit
Β·
86331a2
1
Parent(s):
21e05f5
Update
Browse files
app.py
CHANGED
@@ -171,9 +171,9 @@ class webui:
|
|
171 |
lineart = process_XDoG(image_path).convert('L')
|
172 |
replace_color_image = process_image(rgb_image, lineart).convert('RGBA')
|
173 |
|
174 |
-
if alpha:
|
175 |
-
|
176 |
-
|
177 |
|
178 |
replace_color_image_path = f"{image_name}_noline.png"
|
179 |
replace_color_image.save(replace_color_image_path)
|
|
|
171 |
lineart = process_XDoG(image_path).convert('L')
|
172 |
replace_color_image = process_image(rgb_image, lineart).convert('RGBA')
|
173 |
|
174 |
+
# if alpha:
|
175 |
+
# inverted_alpha = ImageOps.invert(alpha) # γ’γ«γγ‘γγ£γ³γγ«γεθ»’
|
176 |
+
# replace_color_image.putalpha(inverted_alpha)
|
177 |
|
178 |
replace_color_image_path = f"{image_name}_noline.png"
|
179 |
replace_color_image.save(replace_color_image_path)
|