Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2012,7 +2012,7 @@ def handle_prompt(prompt):
|
|
| 2012 |
)
|
| 2013 |
|
| 2014 |
# Check if user request includes blog, article, or newsletter
|
| 2015 |
-
if any(keyword in prompt.lower() for keyword in ["blog", "article", "newsletter"]):
|
| 2016 |
appended_instructions = (
|
| 2017 |
"Craft a flawless, engaging, and fluid compelling copy using *non-flowery language* that reads as though written by a professional copywriter having 25 years of experience. "
|
| 2018 |
"Do not use AI jargon, vague phrases, or overly formal language. Follow these enhanced guidelines to ensure a polished, publication-ready copy with a 10/10 quality: "
|
|
|
|
| 2012 |
)
|
| 2013 |
|
| 2014 |
# Check if user request includes blog, article, or newsletter
|
| 2015 |
+
if any(keyword in prompt.lower() for keyword in ["blog", "article","annual report","report", "newsletter"]):
|
| 2016 |
appended_instructions = (
|
| 2017 |
"Craft a flawless, engaging, and fluid compelling copy using *non-flowery language* that reads as though written by a professional copywriter having 25 years of experience. "
|
| 2018 |
"Do not use AI jargon, vague phrases, or overly formal language. Follow these enhanced guidelines to ensure a polished, publication-ready copy with a 10/10 quality: "
|