amildravid4292 commited on
Commit
c7b5a3d
·
verified ·
1 Parent(s): 8ead4f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -92,6 +92,7 @@ def sample_then_run(net):
92
  sample[0, i] = torch.normal(m[i], standev[i], (1,1))
93
 
94
  net = "model_"+str(uuid.uuid4())[:4]+".pt"
 
95
 
96
 
97
  return net
 
92
  sample[0, i] = torch.normal(m[i], standev[i], (1,1))
93
 
94
  net = "model_"+str(uuid.uuid4())[:4]+".pt"
95
+ torch.save(sample, net)
96
 
97
 
98
  return net