Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
| 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
|