Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,22 @@ IMPORTANT:
|
|
| 74 |
- Focus on transformative benefits
|
| 75 |
- Follow the selected angle style while maintaining the structure"""
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
# Iniciar el prompt con las instrucciones del sistema
|
| 78 |
email_instruction = f"{system_prompt}\n\n"
|
| 79 |
|
|
|
|
| 74 |
- Focus on transformative benefits
|
| 75 |
- Follow the selected angle style while maintaining the structure"""
|
| 76 |
|
| 77 |
+
# Add creative idea to system prompt if it exists
|
| 78 |
+
if creative_idea:
|
| 79 |
+
system_prompt += f"""
|
| 80 |
+
|
| 81 |
+
CREATIVE CONCEPT:
|
| 82 |
+
Use the following creative concept as the central theme for all emails in the sequence:
|
| 83 |
+
"{creative_idea}"
|
| 84 |
+
|
| 85 |
+
CREATIVE CONCEPT INSTRUCTIONS:
|
| 86 |
+
1. This concept should be the unifying theme across all emails
|
| 87 |
+
2. Use it as a metaphor or analogy throughout the sequence
|
| 88 |
+
3. Develop different aspects of this concept in each email
|
| 89 |
+
4. Make sure the concept naturally connects to the product benefits
|
| 90 |
+
5. The concept should make the emails more memorable and engaging
|
| 91 |
+
"""
|
| 92 |
+
|
| 93 |
# Iniciar el prompt con las instrucciones del sistema
|
| 94 |
email_instruction = f"{system_prompt}\n\n"
|
| 95 |
|