Spaces:
Running
on
L4
Running
on
L4
Fix gradio app
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -196,7 +196,7 @@ def requires_bg_remove(image, fr):
|
|
196 |
if min_alpha == 0:
|
197 |
print("Already has alpha")
|
198 |
fr_res = sf3d_utils.resize_foreground(
|
199 |
-
image,
|
200 |
)
|
201 |
return (
|
202 |
gr.update(value="Run", visible=True),
|
|
|
196 |
if min_alpha == 0:
|
197 |
print("Already has alpha")
|
198 |
fr_res = sf3d_utils.resize_foreground(
|
199 |
+
image, fr, out_size=(COND_WIDTH, COND_HEIGHT)
|
200 |
)
|
201 |
return (
|
202 |
gr.update(value="Run", visible=True),
|