mehdidc commited on
Commit
7155638
1 Parent(s): d58b310
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ models = {
8
  "convae": torch.load("convae.th", map_location="cpu"),
9
  "deep_convae": torch.load("deep_convae.th", map_location="cpu"),
10
  }
11
- def gen(model, seed, nb_iter, nb_samples, width, height):
12
  torch.manual_seed(int(seed))
13
  bs = 64
14
  model = models[model]
 
8
  "convae": torch.load("convae.th", map_location="cpu"),
9
  "deep_convae": torch.load("deep_convae.th", map_location="cpu"),
10
  }
11
+ def gen(md, model, seed, nb_iter, nb_samples, width, height):
12
  torch.manual_seed(int(seed))
13
  bs = 64
14
  model = models[model]