Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ model_0 = NumberClassifier(input_shape=1, # number of color channels (3 for RGB)
|
|
| 72 |
hidden_units=10,
|
| 73 |
output_shape=10).to(device)
|
| 74 |
|
| 75 |
-
model_0.load_state_dict(torch.load("pytorch_num_classifier_final_model_with_EMNIST.pth", map_location=torch.device('cpu')))
|
| 76 |
|
| 77 |
|
| 78 |
title = "Number Classifier Minimal"
|
|
|
|
| 72 |
hidden_units=10,
|
| 73 |
output_shape=10).to(device)
|
| 74 |
|
| 75 |
+
model_0.load_state_dict(torch.load("models/pytorch_num_classifier_final_model_with_EMNIST.pth", map_location=torch.device('cpu')))
|
| 76 |
|
| 77 |
|
| 78 |
title = "Number Classifier Minimal"
|