jamino30 commited on
Commit
f956f05
1 Parent(s): d64310b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ model = VGG_19().to(device).eval()
34
  for param in model.parameters():
35
  param.requires_grad = False
36
  sod_model = U2Net().to(device).eval()
37
- load_model_without_module(sod_model, 'u2net/saved_models/u2net-duts.pt')
38
 
39
  style_files = os.listdir('./style_images')
40
  style_options = {' '.join(style_file.split('.')[0].split('_')): f'./style_images/{style_file}' for style_file in style_files}
 
34
  for param in model.parameters():
35
  param.requires_grad = False
36
  sod_model = U2Net().to(device).eval()
37
+ load_model_without_module(sod_model, 'u2net/saved_models/u2net-duts-msra.pt')
38
 
39
  style_files = os.listdir('./style_images')
40
  style_options = {' '.join(style_file.split('.')[0].split('_')): f'./style_images/{style_file}' for style_file in style_files}