amildravid4292 commited on
Commit
8f9ef3b
·
verified ·
1 Parent(s): df5fc9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def sample_then_run(network, unet):
96
  image = inference( network, unet, prompt, negative_prompt, cfg, steps, seed)
97
  torch.save(network.proj.detach().cpu(), "model.pt" )
98
  print("done saving")
99
- return image, "model.pt", unet, network.cpu()
100
 
101
 
102
 
 
96
  image = inference( network, unet, prompt, negative_prompt, cfg, steps, seed)
97
  torch.save(network.proj.detach().cpu(), "model.pt" )
98
  print("done saving")
99
+ return image, "model.pt", unet.cpu(), network.cpu()
100
 
101
 
102