Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2238,16 +2238,15 @@ def handle_prompt(prompt):
|
|
| 2238 |
# Check if user request includes blog, article, or newsletter
|
| 2239 |
if any(keyword in prompt.lower() for keyword in ["blog", "write","article","annual report","report", "newsletter","news letter ","website introduction"]):
|
| 2240 |
appended_instructions = (
|
| 2241 |
-
"Craft a flawless, engaging, and fluid copy using *non-flowery language* that reads as though written by a
|
| 2242 |
"Do not use AI jargon, vague phrases, or overly formal language. Avoid mentioning trustbucket names in the headings and content. Follow these enhanced guidelines to ensure a polished, publication-ready copy with a 10/10 quality: "
|
| 2243 |
|
| 2244 |
"**Pronoun Flexibility for Format**: Adapt the tone and pronouns based on the content format: "
|
| 2245 |
" **Articles, Blogs, Reports**: Use 'we' to reflect organizational authority and emphasize collective efforts. "
|
| 2246 |
-
" **Newsletters**: Use 'you' to directly engage the reader, making them feel personally connected to the content. Avoid distant references like 'they' or 'them.' "
|
| 2247 |
|
| 2248 |
"Make headlines with paragraphs in active language without ing, action-oriented, and reader-focused, reflecting the essence of each section. "
|
| 2249 |
-
"
|
| 2250 |
-
|
| 2251 |
"** Strictly Make Stronger Transitions Between Sections**: Ensure each section logically builds upon the previous one. Seamlessly transition between ideas, reinforcing the overarching theme and avoiding disjointed paragraphs. "
|
| 2252 |
"Incorporate vivid, descriptive language to help readers visualize the impact of their support. "
|
| 2253 |
|
|
@@ -2264,7 +2263,8 @@ def handle_prompt(prompt):
|
|
| 2264 |
" - Include a **Heuristics and Creative Techniques** section in footnote style:"
|
| 2265 |
" - Heuristics: Mention names only, such as 'social proof,' 'authority,' or 'commitment.'"
|
| 2266 |
" - Creative Techniques: Mention only relevant techniques like 'storytelling' or 'vivid imagery.'"
|
| 2267 |
-
|
|
|
|
| 2268 |
"**MOST IMPORTANT RULE**: Every section and paragraph must transition logically into the next, creating a seamless, interconnected narrative. Avoid isolated or fragmented sections. The content must read as a cohesive story, holding the reader’s attention and conveying the intended message with clarity and impact. "
|
| 2269 |
)
|
| 2270 |
|
|
|
|
| 2238 |
# Check if user request includes blog, article, or newsletter
|
| 2239 |
if any(keyword in prompt.lower() for keyword in ["blog", "write","article","annual report","report", "newsletter","news letter ","website introduction"]):
|
| 2240 |
appended_instructions = (
|
| 2241 |
+
"Craft a flawless, engaging, and fluid copy using *non-flowery language* that reads as though written by a Seasoned marketing copywriter with 25 years of experience. "
|
| 2242 |
"Do not use AI jargon, vague phrases, or overly formal language. Avoid mentioning trustbucket names in the headings and content. Follow these enhanced guidelines to ensure a polished, publication-ready copy with a 10/10 quality: "
|
| 2243 |
|
| 2244 |
"**Pronoun Flexibility for Format**: Adapt the tone and pronouns based on the content format: "
|
| 2245 |
" **Articles, Blogs, Reports**: Use 'we' to reflect organizational authority and emphasize collective efforts. "
|
| 2246 |
+
" **Newsletters**: Use 'you'or 'Your' to directly engage the reader, making them feel personally connected to the content. Avoid distant references like 'they' or 'them.' "
|
| 2247 |
|
| 2248 |
"Make headlines with paragraphs in active language without ing, action-oriented, and reader-focused, reflecting the essence of each section. "
|
| 2249 |
+
"USE STRONGER Stronger Call to Action (CTA)"
|
|
|
|
| 2250 |
"** Strictly Make Stronger Transitions Between Sections**: Ensure each section logically builds upon the previous one. Seamlessly transition between ideas, reinforcing the overarching theme and avoiding disjointed paragraphs. "
|
| 2251 |
"Incorporate vivid, descriptive language to help readers visualize the impact of their support. "
|
| 2252 |
|
|
|
|
| 2263 |
" - Include a **Heuristics and Creative Techniques** section in footnote style:"
|
| 2264 |
" - Heuristics: Mention names only, such as 'social proof,' 'authority,' or 'commitment.'"
|
| 2265 |
" - Creative Techniques: Mention only relevant techniques like 'storytelling' or 'vivid imagery.'"
|
| 2266 |
+
"The final output must not include AI jargons. *With every paragraph give a active language sub-headline remove the 'ing' make it according to marketing copies.*. Avoid mentioning trustbucket names."
|
| 2267 |
+
|
| 2268 |
"**MOST IMPORTANT RULE**: Every section and paragraph must transition logically into the next, creating a seamless, interconnected narrative. Avoid isolated or fragmented sections. The content must read as a cohesive story, holding the reader’s attention and conveying the intended message with clarity and impact. "
|
| 2269 |
)
|
| 2270 |
|