Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -360,7 +360,7 @@ def run_inversion(input_image, pcs, epochs, weight_decay,lr):
|
|
360 |
steps = 50
|
361 |
image = inference( prompt, negative_prompt, cfg, steps, seed)
|
362 |
torch.save(network.proj, "model.pt" )
|
363 |
-
return image, "model.pt"
|
364 |
|
365 |
|
366 |
|
|
|
360 |
steps = 50
|
361 |
image = inference( prompt, negative_prompt, cfg, steps, seed)
|
362 |
torch.save(network.proj, "model.pt" )
|
363 |
+
return (image,init_image), "model.pt"
|
364 |
|
365 |
|
366 |
|