memetoday / prompts.py
rushankg's picture
Update prompts.py
f48e659 verified
raw
history blame
1.12 kB
# prompts.py
# Prompt template for summarizing Guardian articles
SUMMARY_PROMPT = (
"Summarize this Guardian article in 30-60 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"
"1. Drake Hotline Bling\n"
"2. UNO Draw 25 Cards\n"
"3. Bernie Asking For Support\n"
"4. Disaster Girl\n"
"5. Waiting Skeleton\n"
"6. Always Has Been\n"
"7. Woman Yelling at Cat\n"
"8. I Bet He's Thinking About Other Women\n"
"9. One Does Not Simply\n"
"10. Success Kid\n"
"11. Oprah You Get A\n"
"12. Hide the Pain Harold\n\n"
"Remember you can only give two text boxes and keep them 6-8 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"
)