Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ H_DIM = 512
|
|
10 |
Z_DIM = 256
|
11 |
|
12 |
model = VariationalAutoEncoder(INPUT_DIM, H_DIM, Z_DIM)
|
13 |
-
model.load_state_dict(torch.load("MnistVAEmodel.
|
14 |
model.eval()
|
15 |
def predict(img):
|
16 |
img = img.convert('1')
|
|
|
10 |
Z_DIM = 256
|
11 |
|
12 |
model = VariationalAutoEncoder(INPUT_DIM, H_DIM, Z_DIM)
|
13 |
+
model.load_state_dict(torch.load("MnistVAEmodel.pt"))
|
14 |
model.eval()
|
15 |
def predict(img):
|
16 |
img = img.convert('1')
|