memetoday / prompts.py
rushankg's picture
Update prompts.py
5ba695f verified
# prompts.py
# Prompt template for summarizing Guardian articles
SUMMARY_PROMPT = (
"Summarize this Guardian article in 60-80 words:\n\n"
"{article_text}\n\n"
"SUMMARY:"
)
# Prompt template for selecting a meme template and generating caption text
MEME_PROMPT = (
"I want to summarize this news in a meme. "
"Choose the best template among the following options and tell me what to say in both textboxes for whatever option you choose:\n\n"
"Drake Hotline Bling: Shows approval and disapproval, typically used to highlight preference between two options.\n"
"UNO Draw 25 Cards: Humorously depicts choosing a difficult consequence over a simpler but unpleasant action.\n"
"Bernie Asking For Support: Represents appealing earnestly or repetitively for help or contributions, often humorously.\n"
"Disaster Girl: Features a smirking girl in front of a burning house, used to imply someone caused or is pleased by chaos.\n"
"Waiting Skeleton: Shows a skeleton sitting on a bench, illustrates exaggerated impatience or endless waiting for something overdue or unlikely.\n"
"Always Has Been: Astronauts reveal Earth has always been a certain way, humorously revealing something that was obvious all along.\n"
"Woman Yelling at Cat: Used to express outrage from one side contrasted with calmness on the other, dramatizing two sides of an argument.\n"
"I Bet He's Thinking About Other Women: Humorously imagines someone overthinking trivial or unrelated issues, contrary to assumptions.\n"
"One Does Not Simply: Used to highlight that a task is much harder than expected (here text0 is always 'One does not simply').\n"
"Success Kid: A determined toddler clenching his fist, used to celebrate good news, victories or unexpected success.\n"
"Oprah You Get A: Oprah enthusiastically distributing gifts to her audience, symbolizing widespread giveaways or generosity.\n"
"Hide the Pain Harold: Man smiling through visible discomfort, symbolizing internal suffering or concealed frustration.\n\n"
"Remember you can only give two text boxes and keep them 8-10 words each. "
"This might affect your choice of meme. "
"Provide the output prefaced with `template:` and `text0:` and `text1:` respectively, "
"ARTICLE SUMMARY:\n"
"{summary}\n\n"
"Meme output:\n"
)