Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ device = f'cuda:{gpu_id}' if torch.cuda.is_available() else 'cpu'
|
|
18 |
from modelscope import snapshot_download
|
19 |
model_dir = snapshot_download( # https://www.modelscope.cn/models/AI-ModelScope/RMBG-2.0
|
20 |
model_id = 'AI-ModelScope/RMBG-2.0',
|
21 |
-
local_dir = '
|
22 |
ignore_file_pattern = ['onnx*'],
|
23 |
)
|
24 |
|
|
|
18 |
from modelscope import snapshot_download
|
19 |
model_dir = snapshot_download( # https://www.modelscope.cn/models/AI-ModelScope/RMBG-2.0
|
20 |
model_id = 'AI-ModelScope/RMBG-2.0',
|
21 |
+
local_dir = 'ckpt/RMBG-2.0',
|
22 |
ignore_file_pattern = ['onnx*'],
|
23 |
)
|
24 |
|