Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ model = TSR.from_pretrained(
|
|
| 44 |
config_name="config.yaml",
|
| 45 |
weight_name="model.ckpt",
|
| 46 |
)
|
| 47 |
-
|
| 48 |
model.to(device)
|
| 49 |
|
| 50 |
rembg_session = rembg.new_session()
|
|
|
|
| 44 |
config_name="config.yaml",
|
| 45 |
weight_name="model.ckpt",
|
| 46 |
)
|
| 47 |
+
model.renderer.set_chunk_size(104218)
|
| 48 |
model.to(device)
|
| 49 |
|
| 50 |
rembg_session = rembg.new_session()
|