Spaces:
Configuration error
Configuration error
parokshsaxena
commited on
Commit
Β·
6093a65
1
Parent(s):
97b3eb9
removing showing of image
Browse files
src/background_processor.py
CHANGED
|
@@ -197,8 +197,7 @@ class BackgroundProcessor:
|
|
| 197 |
|
| 198 |
foreground_binary = ImageFormatConvertor.pil_image_to_binary_data(foreground_img_pil)
|
| 199 |
background_binary = ImageFormatConvertor.pil_image_to_binary_data(background_image_pil)
|
| 200 |
-
combined_img_pil = cls.remove_bg(foreground_binary, background_binary)
|
| 201 |
-
combined_img_pil.show()
|
| 202 |
return combined_img_pil
|
| 203 |
|
| 204 |
|
|
|
|
| 197 |
|
| 198 |
foreground_binary = ImageFormatConvertor.pil_image_to_binary_data(foreground_img_pil)
|
| 199 |
background_binary = ImageFormatConvertor.pil_image_to_binary_data(background_image_pil)
|
| 200 |
+
combined_img_pil = cls.remove_bg(foreground_binary, background_binary)
|
|
|
|
| 201 |
return combined_img_pil
|
| 202 |
|
| 203 |
|