juaben commited on
Commit
d5949ba
·
verified ·
1 Parent(s): 2c5c388

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cp
11
  pil_to_tensor = transforms.ToTensor()
12
 
13
  # Define a dictionary to map image filenames to weight files
14
- image_to_weights = {'./weights/flolv2_UHDLL.pt','./weights/flolv2_all_111439.pt'}
15
 
16
  # Initial model setup (without weights)
17
  model = create_model()
 
11
  pil_to_tensor = transforms.ToTensor()
12
 
13
  # Define a dictionary to map image filenames to weight files
14
+ image_to_weights = ['./weights/flolv2_UHDLL.pt','./weights/flolv2_all_111439.pt']
15
 
16
  # Initial model setup (without weights)
17
  model = create_model()