TuanScientist commited on
Commit
9679e6d
·
verified ·
1 Parent(s): 4dfdf04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import openpyxl
9
  import os
10
 
11
  # Load the pre-trained EfficientNet-B7 model
12
- model = torchvision.models.efficientnet_b7(weights=EfficientNet_B7_Weights.DEFAULT)
13
  model.eval()
14
 
15
  # Define the transformations to be applied to the input image
 
9
  import os
10
 
11
  # Load the pre-trained EfficientNet-B7 model
12
+ model = torchvision.models.efficientnet_b7(pretrained=True)
13
  model.eval()
14
 
15
  # Define the transformations to be applied to the input image