Spaces:
Runtime error
Runtime error
No model
Browse files- src/app.py +1 -1
src/app.py
CHANGED
|
@@ -25,7 +25,7 @@ vocab = [
|
|
| 25 |
|
| 26 |
|
| 27 |
model = get_model()
|
| 28 |
-
state = torch.load('exported_model.pth', map_location="cpu")
|
| 29 |
apply_weights(model, state, copy_weight)
|
| 30 |
|
| 31 |
to_tensor = ToTensor()
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
model = get_model()
|
| 28 |
+
state = torch.load('exported_model.pth', map_location="cpu")
|
| 29 |
apply_weights(model, state, copy_weight)
|
| 30 |
|
| 31 |
to_tensor = ToTensor()
|