Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ effnetb2.load_state_dict(
|
|
12 |
f="09_pretrained_effnetb2_feature_extractor_pizza_steak_sushi_20_percent.pth",
|
13 |
map_location=torch.device("cpu")
|
14 |
)
|
15 |
-
)
|
16 |
|
17 |
def predict(img) -> Tuple[Dict,float]:
|
18 |
start_time = timer()
|
|
|
12 |
f="09_pretrained_effnetb2_feature_extractor_pizza_steak_sushi_20_percent.pth",
|
13 |
map_location=torch.device("cpu")
|
14 |
)
|
15 |
+
)
|
16 |
|
17 |
def predict(img) -> Tuple[Dict,float]:
|
18 |
start_time = timer()
|