Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def predict(img_path):
|
|
| 44 |
# Apply transformations
|
| 45 |
image = test_transforms(image)
|
| 46 |
|
| 47 |
-
inf_model = models.resnet18(pretrained=False
|
| 48 |
|
| 49 |
num_ftrs = inf_model.fc.in_features
|
| 50 |
# Here the size of each output sample is set to 2.
|
|
|
|
| 44 |
# Apply transformations
|
| 45 |
image = test_transforms(image)
|
| 46 |
|
| 47 |
+
inf_model = models.resnet18(pretrained=False)
|
| 48 |
|
| 49 |
num_ftrs = inf_model.fc.in_features
|
| 50 |
# Here the size of each output sample is set to 2.
|