Spaces:
Running
on
Zero
Running
on
Zero
AamirAli123
commited on
Commit
•
05a283f
1
Parent(s):
16812a5
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def preprocess(input_image, do_remove_background):
|
|
142 |
|
143 |
if do_remove_background:
|
144 |
input_image = remove_background(input_image, rembg_session)
|
145 |
-
input_image = resize_foreground(input_image,
|
146 |
|
147 |
return input_image
|
148 |
|
|
|
142 |
|
143 |
if do_remove_background:
|
144 |
input_image = remove_background(input_image, rembg_session)
|
145 |
+
input_image = resize_foreground(input_image, 1)
|
146 |
|
147 |
return input_image
|
148 |
|