Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
import torch.nn.functional as F
|
5 |
from torchvision import transforms
|
6 |
|
7 |
-
# load model
|
8 |
model = torch.jit.load("food_classifier_resnet18.ptl")
|
9 |
|
10 |
# Transformations that will be applied
|
|
|
4 |
import torch.nn.functional as F
|
5 |
from torchvision import transforms
|
6 |
|
7 |
+
# load the model
|
8 |
model = torch.jit.load("food_classifier_resnet18.ptl")
|
9 |
|
10 |
# Transformations that will be applied
|