Wajahat698 commited on
Commit
07c30b0
·
verified ·
1 Parent(s): 43603c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -24
app.py CHANGED
@@ -2274,39 +2274,28 @@ def handle_prompt(prompt):
2274
  "Craft a flawless, engaging, and fluid compelling copy using *non-flowery language* that reads as though written by a professional copywriter with 25 years of experience. "
2275
  "Avoid AI jargon, vague phrases, or overly formal language. Do not explicitly mention trust bucket names in headings or content. Instead, use the following enhanced guidelines for a polished, publication-ready copy that scores 10/10 in quality:\n\n"
2276
 
2277
- "1. **Interconnected Structure**: Ensure all sections and ideas are deeply interconnected with logical transitions between paragraphs. Build a cohesive narrative where each paragraph leads naturally into the next. Use linking phrases to reinforce connections (e.g., 'Building on this achievement...' or 'This aligns with our mission to...'). Avoid isolated or disjointed sections.\n\n"
2278
 
2279
- "2. **Tailored Formatting**:\n"
2280
- "- **For Blogs**: Use concise, engaging paragraphs with creative subheadings that summarize the content. Ensure the tone is conversational, actionable, and insightful.\n"
2281
- "- **For Newsletters**: Maintain professional formatting with clearly defined sections and bullet points where necessary. Avoid overly complex structures; instead, ensure clarity and brevity.\n\n"
2282
 
2283
- "3. **Seamless Integration of TrustBuilders®**: Weave TrustBuilders® naturally into the narrative without isolating them. Highlight their relevance subtly to build credibility and trust, enhancing readability and engagement.\n\n"
2284
 
2285
  "4. **Relatable and Conversational Tone**: Engage the audience with a human, approachable tone. Avoid repetitive phrasing, overly technical explanations, or mechanical structures. Use active voice consistently for a professional yet friendly style.\n\n"
2286
 
2287
  "5. **Audience-Centric Engagement**: Tailor the content to resonate with the audience’s needs, challenges, and aspirations. Use relatable examples, vivid imagery, and direct appeals to create emotional connections. Highlight actionable insights and practical relevance.\n\n"
2288
 
2289
- "6. **Storytelling for Engagement**: Use storytelling techniques to create momentum. Begin with a compelling hook, maintain a narrative flow through transitions, and conclude with a strong call-to-action that inspires the audience to reflect or act.\n\n"
2290
 
2291
- "7. **Purpose-Driven Impact**: Clearly define and achieve the content's purpose—whether to inform, persuade, or inspire action. Ensure each paragraph contributes to the overall objective and reinforces the key message.\n\n"
 
 
 
2292
 
2293
- "8. **Polished Presentation**: Refine the output to ensure it is professional, cohesive, and publication-ready. Avoid ambiguity or errors. Structure the content to highlight key points effectively and keep the reader engaged.\n\n"
2294
 
2295
- "9. **Creative Subheadings**:\n"
2296
- "- Each section must have a subheading that captures the essence of the content below.\n"
2297
- "- For example, instead of 'Empowering Communities,' use action-driven headlines like 'Driving Sustainable Change Globally.'\n"
2298
- "- Avoid generic titles or -ing endings.\n\n"
2299
-
2300
- "10. **Flow and Consistency**:\n"
2301
- "- Strengthen connections between paragraphs to create a seamless flow.\n"
2302
- "- For newsletters, ensure concise summaries in each section while maintaining a unified narrative across the entire piece.\n"
2303
- "- For blogs, keep the tone conversational but ensure transitions maintain reader engagement.\n\n"
2304
-
2305
- "11. **Content Elements**:\n"
2306
- "- Avoid including source links directly in the main body for newsletters but summarize them in a separate section titled 'References' or 'List of TrustBuilders Used.'\n"
2307
- "- For blogs, consider integrating relevant links within the text naturally to enhance SEO without disrupting readability.\n\n"
2308
-
2309
- "12. **Mandatory Elements**:\n"
2310
  "1. ##List of TrustBuilders Used: Provide TrustBuilders used followed by *Source links always.*\n"
2311
  "2. ##Heuristics and Creative Techniques:\n"
2312
  " - List them in a footnote-style small heading.\n"
@@ -2314,7 +2303,16 @@ def handle_prompt(prompt):
2314
  " - Heuristics: Mention names only (e.g., social proof, authority, commitment).\n"
2315
  " - Creative Techniques: Mention names only (list only relevant marketing techniques without additional details).\n\n"
2316
 
2317
- "13. **Key Reminder**:\n"
 
 
 
 
 
 
 
 
 
2318
  "Ensure the final output:\n"
2319
  "- Is deeply interconnected, with transitions between sections creating a cohesive narrative.\n"
2320
  "- Maintains a balance between detail and brevity to suit both blogs and newsletters.\n"
 
2274
  "Craft a flawless, engaging, and fluid compelling copy using *non-flowery language* that reads as though written by a professional copywriter with 25 years of experience. "
2275
  "Avoid AI jargon, vague phrases, or overly formal language. Do not explicitly mention trust bucket names in headings or content. Instead, use the following enhanced guidelines for a polished, publication-ready copy that scores 10/10 in quality:\n\n"
2276
 
2277
+ "1. **Interconnected Structure**: Ensure all sections and ideas are deeply interconnected with logical transitions between paragraphs. Build a cohesive narrative where each paragraph leads naturally into the next. Use linking phrases to reinforce connections (e.g., 'Building on this success...' or 'This aligns with our broader mission...'). Avoid isolated or disjointed sections.\n\n"
2278
 
2279
+ "2. **Tailored Formatting for Blogs and Newsletters**:\n"
2280
+ "- **For Blogs**: Use detailed, narrative-style paragraphs to explore topics in depth. Each section must have a creative subheading summarizing the content.\n"
2281
+ "- **For Newsletters**: Focus on concise summaries with bullet points and clear headings. Ensure the content is visually digestible and quick to read.\n\n"
2282
 
2283
+ "3. **Seamless Integration of TrustBuilders®**: Naturally weave TrustBuilders® into the narrative without isolating them. Highlight their relevance subtly to build credibility and trust while maintaining readability and engagement.\n\n"
2284
 
2285
  "4. **Relatable and Conversational Tone**: Engage the audience with a human, approachable tone. Avoid repetitive phrasing, overly technical explanations, or mechanical structures. Use active voice consistently for a professional yet friendly style.\n\n"
2286
 
2287
  "5. **Audience-Centric Engagement**: Tailor the content to resonate with the audience’s needs, challenges, and aspirations. Use relatable examples, vivid imagery, and direct appeals to create emotional connections. Highlight actionable insights and practical relevance.\n\n"
2288
 
2289
+ "6. **Purpose-Driven Impact**: Clearly define and achieve the content's purpose—whether to inform, persuade, or inspire action. Ensure each paragraph contributes to the overall objective and reinforces the key message.\n\n"
2290
 
2291
+ "7. **Content Elements for Newsletters**:\n"
2292
+ "- Use bullet points for key highlights or statistics to improve readability.\n"
2293
+ "- Summarize sections into digestible pieces that are easy to scan.\n"
2294
+ "- Add clear calls-to-action (e.g., 'Join us,' 'Learn more,' 'Donate now') at the end of relevant sections.\n\n"
2295
 
2296
+ "8. **Polished Presentation**: Refine the output to ensure it is professional, cohesive, and suitable for publication. Avoid ambiguity or errors. Structure the content to highlight key points effectively and keep the reader engaged.\n\n"
2297
 
2298
+ "9. **Mandatory Sections for Blogs and Newsletters**:\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2299
  "1. ##List of TrustBuilders Used: Provide TrustBuilders used followed by *Source links always.*\n"
2300
  "2. ##Heuristics and Creative Techniques:\n"
2301
  " - List them in a footnote-style small heading.\n"
 
2303
  " - Heuristics: Mention names only (e.g., social proof, authority, commitment).\n"
2304
  " - Creative Techniques: Mention names only (list only relevant marketing techniques without additional details).\n\n"
2305
 
2306
+ "10. **Flow and Consistency**:\n"
2307
+ "- Strengthen connections between paragraphs to create a seamless flow.\n"
2308
+ "- Ensure newsletters are concise, with key points prominently displayed, and blogs maintain a deeper narrative structure with smooth transitions.\n\n"
2309
+
2310
+ "11. **Creative Subheadings**:\n"
2311
+ "- Each section must have a subheading that captures the essence of the content below.\n"
2312
+ "- For example, instead of 'Empowering Communities,' use action-driven headlines like 'Driving Sustainable Change Globally.'\n"
2313
+ "- Avoid generic titles or -ing endings.\n\n"
2314
+
2315
+ "12. **Key Reminder**:\n"
2316
  "Ensure the final output:\n"
2317
  "- Is deeply interconnected, with transitions between sections creating a cohesive narrative.\n"
2318
  "- Maintains a balance between detail and brevity to suit both blogs and newsletters.\n"