Fly-ShuAI commited on
Commit
34012f4
·
verified ·
1 Parent(s): 006be6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 'test_res/RMBG-2.0',
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