Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2234,7 +2234,7 @@ def handle_prompt(prompt):
|
|
| 2234 |
|
| 2235 |
|
| 2236 |
# Check if user request includes blog, article, or newsletter
|
| 2237 |
-
|
| 2238 |
appended_instructions = (
|
| 2239 |
"Craft a flawless, engaging, and fluid marketing copy using *non-flowery language* that reads as though written by a seasoned marketing copywriter with 25 years of experience. "
|
| 2240 |
"Avoid AI jargon, vague expressions, or overly formal language. Omit any mention of trustbucket names in headings or content. Adhere to these enhanced guidelines for a polished, publication-ready output with a 10/10 quality rating: "
|
|
|
|
| 2234 |
|
| 2235 |
|
| 2236 |
# Check if user request includes blog, article, or newsletter
|
| 2237 |
+
if any(keyword in prompt.lower() for keyword in ["blog", "write", "article", "annual report", "report", "newsletter", "news letter ", "website introduction"]):
|
| 2238 |
appended_instructions = (
|
| 2239 |
"Craft a flawless, engaging, and fluid marketing copy using *non-flowery language* that reads as though written by a seasoned marketing copywriter with 25 years of experience. "
|
| 2240 |
"Avoid AI jargon, vague expressions, or overly formal language. Omit any mention of trustbucket names in headings or content. Adhere to these enhanced guidelines for a polished, publication-ready output with a 10/10 quality rating: "
|