Spaces:
Running
Running
Download app/email_templates/first_comment.py from MonteeqOrg/backend: direct link, hf CLI and curl.
- Browser
- Download file 915 Bytes
-
https://huggingface.co/spaces/MonteeqOrg/backend/resolve/main/app/email_templates/first_comment.py
- Command line
-
hf download hf://spaces/MonteeqOrg/backend/app/email_templates/first_comment.py
-
curl -L -o first_comment.py https://huggingface.co/spaces/MonteeqOrg/backend/resolve/main/app/email_templates/first_comment.py
915 Bytes
| # uses {username}, {commenter_name}, {video_title}, {comment_content} | |
| VARIANTS = [ | |
| { | |
| "subject": "New comment on your video from {commenter_name}", | |
| "heading": "Your video got its first comment.", | |
| "body": "{commenter_name} left a comment on your video '{video_title}':\n\n\"{comment_content}\"", | |
| "action_text": "Reply to Comment" | |
| }, | |
| { | |
| "subject": "{commenter_name} commented: \"{comment_content}\"", | |
| "heading": "First feedback is in.", | |
| "body": "Hey {username} β {commenter_name} commented on '{video_title}':\n\n\"{comment_content}\"", | |
| "action_text": "View Comment" | |
| }, | |
| { | |
| "subject": "Feedback on your video '{video_title}'", | |
| "heading": "First comment.", | |
| "body": "{commenter_name} just shared their thoughts on '{video_title}':\n\n\"{comment_content}\"", | |
| "action_text": "Join the conversation" | |
| } | |
| ] | |