Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -94,12 +94,11 @@ def sample_then_run(network, unet):
|
|
94 |
cfg = 3.0
|
95 |
steps = 25
|
96 |
image = inference( network, unet, prompt, negative_prompt, cfg, steps, seed)
|
97 |
-
|
98 |
-
#torch.save(network.proj.cpu().detach(), "model.pt" )
|
99 |
return image, "model.pt", unet, network
|
100 |
|
101 |
-
|
102 |
-
|
103 |
|
104 |
|
105 |
|
|
|
94 |
cfg = 3.0
|
95 |
steps = 25
|
96 |
image = inference( network, unet, prompt, negative_prompt, cfg, steps, seed)
|
97 |
+
torch.save(network.proj.detach().cpu(), "model.pt" )
|
|
|
98 |
return image, "model.pt", unet, network
|
99 |
|
100 |
+
|
101 |
+
|
102 |
|
103 |
|
104 |
|