Skip to content

Commit

Permalink
proper filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Mar 31, 2021
1 parent 09671d2 commit b01ce72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion big_sleep/big_sleep.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def create_text_path(text=None, img=None, encoding=None):
input_name += "_" + img_name
if encoding is not None:
input_name = "your_encoding"
return input_name.replace("-", "_").replace(",", "").replace(" ", "_").strip('-_')[:255]
return input_name.replace("-", "_").replace(",", "").replace(" ", "_").replace("|", "--").strip('-_')[:255]

# tensor helpers

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.2'
__version__ = '0.8.3'

0 comments on commit b01ce72

Please sign in to comment.