Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def predict(img) -> Tuple[Dict, float]:
|
|
46 |
start_time = timer()
|
47 |
|
48 |
# Transform the target image and add a batch dimension
|
49 |
-
img = transform(img).unsqueeze(0)
|
50 |
|
51 |
# Put model into evaluation mode and turn on inference mode
|
52 |
TinyCNN_model.eval()
|
|
|
46 |
start_time = timer()
|
47 |
|
48 |
# Transform the target image and add a batch dimension
|
49 |
+
img = transform(img).unsqueeze(dim=0)
|
50 |
|
51 |
# Put model into evaluation mode and turn on inference mode
|
52 |
TinyCNN_model.eval()
|