Update app.py
Browse files
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
|