Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from torchvision import transforms
|
|
9 |
torch.set_float32_matmul_precision(["high", "highest"][0])
|
10 |
|
11 |
birefnet = AutoModelForImageSegmentation.from_pretrained(
|
12 |
-
"briaai/
|
13 |
)
|
14 |
birefnet.to("cuda")
|
15 |
transform_image = transforms.Compose(
|
|
|
9 |
torch.set_float32_matmul_precision(["high", "highest"][0])
|
10 |
|
11 |
birefnet = AutoModelForImageSegmentation.from_pretrained(
|
12 |
+
"briaai/RMBG-2.0", trust_remote_code=True
|
13 |
)
|
14 |
birefnet.to("cuda")
|
15 |
transform_image = transforms.Compose(
|