Skip to content

Commit

Permalink
Save resulting latent
Browse files Browse the repository at this point in the history
After editing, when saving the image, you also save the resulting latent for continuing working on it later on (or e.g. generate interpolations)
  • Loading branch information
PDillis authored Jun 26, 2023
1 parent 9b7e474 commit b76c49a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions viz/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,5 +382,6 @@ def _render_drag_impl(self, res,
img = img.cpu().numpy()
img = Image.fromarray(img)
res.image = img
res.w = ws.cpu().numpy()

#----------------------------------------------------------------------------

0 comments on commit b76c49a

Please sign in to comment.