Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def run_triposg(image_path: str,
|
|
| 110 |
if rmbg:
|
| 111 |
img_pil = prepare_image(image_path, bg_color=np.array([1.0, 1.0, 1.0]), rmbg_net=rmbg_net)
|
| 112 |
else:
|
| 113 |
-
img_pil = Image.open(
|
| 114 |
|
| 115 |
set_seed(seed)
|
| 116 |
start_time = time.time()
|
|
|
|
| 110 |
if rmbg:
|
| 111 |
img_pil = prepare_image(image_path, bg_color=np.array([1.0, 1.0, 1.0]), rmbg_net=rmbg_net)
|
| 112 |
else:
|
| 113 |
+
img_pil = Image.open(image_path)
|
| 114 |
|
| 115 |
set_seed(seed)
|
| 116 |
start_time = time.time()
|