Skip to content

Commit

Permalink
keep set_text
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Apr 2, 2021
1 parent b01ce72 commit b014b44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions big_sleep/big_sleep.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ def __init__(
def seed_suffix(self):
return f'.{self.seed}' if self.append_seed and exists(self.seed) else ''

def set_text(self, text):
self.set_clip_encoding(text = text)

def create_clip_encoding(self, text=None, img=None, encoding=None):
self.text = text
self.img = img
Expand Down
2 changes: 1 addition & 1 deletion big_sleep/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.8.3'
__version__ = '0.8.4'

0 comments on commit b014b44

Please sign in to comment.