Spaces:
Sleeping
Sleeping
Update formulas.py
Browse files- formulas.py +12 -30
formulas.py
CHANGED
@@ -23,8 +23,6 @@ def create_offer_instruction(avatar_description, product_name, selected_formula_
|
|
23 |
# Format examples
|
24 |
examples_text = "\n\n".join([f"Example {i+1}:\n{example}" for i, example in enumerate(random_examples)])
|
25 |
|
26 |
-
# Add specific instructions for Sueño-Obstáculo formula
|
27 |
-
# Add specific instructions for handling uploaded content
|
28 |
# Add specific instructions for each formula
|
29 |
additional_instructions = ""
|
30 |
if selected_formula_name == "Fórmula Sueño-Obstáculo":
|
@@ -90,37 +88,23 @@ SPECIFIC INSTRUCTIONS FOR THIS FORMULA:
|
|
90 |
- Select a powerful attention hook that DIRECTLY connects with the avatar's current reality
|
91 |
- DO NOT use questions as hooks - use statements, statistics, or shocking revelations instead
|
92 |
- CUSTOMIZE the hook specifically for this avatar - don't use generic examples
|
93 |
-
- CRITICAL: Ensure the hook is DIRECTLY RELATED to the promise and benefit that follow
|
94 |
- The hook MUST address the SAME problem that your promise will solve
|
95 |
|
96 |
-
Choose randomly from these hooks
|
97 |
-
- "El 83% de los
|
98 |
-
- "9 de cada 10
|
99 |
-
- "Lo que nadie te dice sobre
|
100 |
-
- "El secreto que
|
101 |
-
- "
|
102 |
-
- "
|
103 |
-
- "
|
104 |
-
- "
|
105 |
-
- "Mientras algunos facturan $10,000 al mes, tú sigues preguntándote por qué nadie compra."
|
106 |
-
- "Tus competidores están cerrando ventas mientras tú sigues 'perfeccionando' tu oferta."
|
107 |
-
- "La mayoría de cursos de marketing digital son una pérdida total de tiempo y dinero."
|
108 |
-
- "Tu estrategia actual de contenido está ahuyentando a tus clientes ideales."
|
109 |
-
- "Hace 6 meses estaba exactamente donde tú estás: creando contenido que nadie veía."
|
110 |
-
- "Recuerdo cuando mi negocio estaba al borde del colapso por no tener un sistema de ventas."
|
111 |
|
112 |
2. MAINTAIN THEMATIC CONSISTENCY:
|
113 |
- The attention hook, quantifiable promise, and benefit statement MUST all address the SAME problem
|
114 |
-
- If the hook mentions language learning struggles, the promise and benefit must also focus on language learning
|
115 |
-
- If the hook addresses marketing challenges, the promise and benefit must provide marketing solutions
|
116 |
- Create a LOGICAL PROGRESSION from problem (hook) to solution (promise) to implementation (benefit)
|
117 |
|
118 |
-
3.
|
119 |
-
- Target audience description (avatar_description) - THIS IS YOUR PRIMARY SOURCE OF TRUTH
|
120 |
-
- Product/service name (product_name variable)
|
121 |
-
- Content from uploaded files (if any)
|
122 |
-
|
123 |
-
4. Create a compelling QUANTIFIABLE PROMISE that:
|
124 |
- Is written COMPLETELY IN CAPITAL LETTERS
|
125 |
- Includes concrete numbers (money, time, results)
|
126 |
- Uses powerful action verbs (EARN, MULTIPLY, ACHIEVE, MASTER)
|
@@ -129,15 +113,13 @@ SPECIFIC INSTRUCTIONS FOR THIS FORMULA:
|
|
129 |
- NEVER uses exclamation marks (!)
|
130 |
- DIRECTLY addresses the same problem mentioned in the hook
|
131 |
|
132 |
-
|
133 |
- Clearly explains the result they will obtain
|
134 |
- Includes an authority element (proven method, studies, experience)
|
135 |
- Establishes a realistic timeframe or effort needed
|
136 |
- CONTINUES the same theme established in the hook and promise
|
137 |
|
138 |
-
|
139 |
-
- DO NOT include phrases like "Aquí tienes una oferta convincente" or "Esta es tu oferta"
|
140 |
-
- DO NOT include any text before or after the offer
|
141 |
- Start directly with the attention hook
|
142 |
- The entire response should be ONLY the offer itself following the formula structure
|
143 |
"""
|
|
|
23 |
# Format examples
|
24 |
examples_text = "\n\n".join([f"Example {i+1}:\n{example}" for i, example in enumerate(random_examples)])
|
25 |
|
|
|
|
|
26 |
# Add specific instructions for each formula
|
27 |
additional_instructions = ""
|
28 |
if selected_formula_name == "Fórmula Sueño-Obstáculo":
|
|
|
88 |
- Select a powerful attention hook that DIRECTLY connects with the avatar's current reality
|
89 |
- DO NOT use questions as hooks - use statements, statistics, or shocking revelations instead
|
90 |
- CUSTOMIZE the hook specifically for this avatar - don't use generic examples
|
|
|
91 |
- The hook MUST address the SAME problem that your promise will solve
|
92 |
|
93 |
+
Choose randomly from these statement hooks and CUSTOMIZE for your avatar:
|
94 |
+
- "El 83% de los [avatar's profession/role] pierden [specific resource] en [specific activity] que nadie aprovecha."
|
95 |
+
- "9 de cada 10 [avatar's field] fracasan en sus primeros 6 meses por este error."
|
96 |
+
- "Lo que nadie te dice sobre [avatar's challenge] es que la mayoría fracasa en los primeros 3 meses."
|
97 |
+
- "El secreto que [competitors/industry] no quieren que sepas sobre [avatar's goal]."
|
98 |
+
- "Tu [avatar's current strategy/approach] está ahuyentando a tus [avatar's desired outcome]."
|
99 |
+
- "Mientras algunos [positive outcome], tú sigues [negative current situation]."
|
100 |
+
- "La mayoría de [current solutions] son una pérdida total de [resources]."
|
101 |
+
- "Hace 6 meses estaba exactamente donde tú estás: [avatar's current struggle]."
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
2. MAINTAIN THEMATIC CONSISTENCY:
|
104 |
- The attention hook, quantifiable promise, and benefit statement MUST all address the SAME problem
|
|
|
|
|
105 |
- Create a LOGICAL PROGRESSION from problem (hook) to solution (promise) to implementation (benefit)
|
106 |
|
107 |
+
3. Create a compelling QUANTIFIABLE PROMISE that:
|
|
|
|
|
|
|
|
|
|
|
108 |
- Is written COMPLETELY IN CAPITAL LETTERS
|
109 |
- Includes concrete numbers (money, time, results)
|
110 |
- Uses powerful action verbs (EARN, MULTIPLY, ACHIEVE, MASTER)
|
|
|
113 |
- NEVER uses exclamation marks (!)
|
114 |
- DIRECTLY addresses the same problem mentioned in the hook
|
115 |
|
116 |
+
4. Craft a benefit statement that:
|
117 |
- Clearly explains the result they will obtain
|
118 |
- Includes an authority element (proven method, studies, experience)
|
119 |
- Establishes a realistic timeframe or effort needed
|
120 |
- CONTINUES the same theme established in the hook and promise
|
121 |
|
122 |
+
5. CRITICAL: Output ONLY the offer itself with NO introductory text, explanations, or additional commentary.
|
|
|
|
|
123 |
- Start directly with the attention hook
|
124 |
- The entire response should be ONLY the offer itself following the formula structure
|
125 |
"""
|