Update app.py
Browse files
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 =
|
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()
|