GV05 commited on
Commit
ce00128
1 Parent(s): 093675e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.pth"))
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')