You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deep_daze/cli.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ def train(
33
33
create_story=False,
34
34
story_start_words=5,
35
35
story_words_per_epoch=5,
36
+
save_gif=False
36
37
):
37
38
"""
38
39
:param text: (required) A phrase less than 77 characters which you would like to visualize.
@@ -62,6 +63,7 @@ def train(
62
63
:param create_story: Creates a story by optimizing each epoch on a new sliding-window of the input words. If this is enabled, much longer texts than 77 chars can be used. Requires save_progress to visualize the transitions of the story.
63
64
:param story_start_words: Only used if create_story is True. How many words to optimize on for the first epoch.
64
65
:param story_words_per_epoch: Only used if create_story is True. How many words to add to the optimization goal per epoch after the first one.
66
+
:param save_gif: Only used if save_progress is True. Saves a GIF animation of the generation procedure using the saved frames.
65
67
"""
66
68
# Don't instantiate imagine if the user just wants help.
0 commit comments