Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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.
|
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, network.cpu()
|
100 |
|
101 |
|
102 |
|