Skip to content

Commit

Permalink
fix read_book text number
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Oct 25, 2023
1 parent 60a7e04 commit 98cd034
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion meme_generator/memes/read_book/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@ def read_book(images: List[BuildImage], texts: List[str], args):
return frame.save_jpg()


add_meme("read_book", read_book, min_images=1, max_images=1, keywords=["看书"])
add_meme(
"read_book",
read_book,
min_images=1,
max_images=1,
min_texts=0,
max_texts=1,
keywords=["看书"],
)

0 comments on commit 98cd034

Please sign in to comment.