Spaces:
Running
Running
og
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ import PIL
|
|
9 |
from PIL import Image
|
10 |
from typing import Tuple
|
11 |
|
12 |
-
|
13 |
net = BriaRMBG.from_pretrained("briaai/RMBG-1.4")
|
14 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
15 |
net.to(device)
|
|
|
9 |
from PIL import Image
|
10 |
from typing import Tuple
|
11 |
|
|
|
12 |
net = BriaRMBG.from_pretrained("briaai/RMBG-1.4")
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
14 |
net.to(device)
|