ZhengPeng7
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ class ImagePreprocessor():
|
|
36 |
|
37 |
|
38 |
from transformers import AutoModelForImageSegmentation
|
39 |
-
birefnet = AutoModelForImageSegmentation.from_pretrained('zhengpeng7/BiRefNet', trust_remote_code=True)
|
40 |
birefnet.to(device)
|
41 |
birefnet.eval()
|
42 |
|
|
|
36 |
|
37 |
|
38 |
from transformers import AutoModelForImageSegmentation
|
39 |
+
birefnet = AutoModelForImageSegmentation.from_pretrained('zhengpeng7/BiRefNet-portrait', trust_remote_code=True)
|
40 |
birefnet.to(device)
|
41 |
birefnet.eval()
|
42 |
|