JeCabrera commited on
Commit
9a50942
·
verified ·
1 Parent(s): f02766c

Upload 19 files

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. prompts/solution_benefits.txt +67 -2
app.py CHANGED
@@ -86,9 +86,11 @@ def display_generated_content(column, content, key_prefix):
86
  copy_button_key = f"{key_prefix}_copy_button"
87
  if column.button("Copiar al portapapeles", key=copy_button_key):
88
  # Use JavaScript to copy to clipboard
 
 
89
  js_code = f"""
90
  <script>
91
- navigator.clipboard.writeText(`{content.replace('`', '\\`')}`);
92
  </script>
93
  """
94
  column.components.html(js_code, height=0)
 
86
  copy_button_key = f"{key_prefix}_copy_button"
87
  if column.button("Copiar al portapapeles", key=copy_button_key):
88
  # Use JavaScript to copy to clipboard
89
+ # Fix: Escape backticks properly in JavaScript without using backslash in f-string
90
+ content_escaped = content.replace("`", "\\`")
91
  js_code = f"""
92
  <script>
93
+ navigator.clipboard.writeText(`{content_escaped}`);
94
  </script>
95
  """
96
  column.components.html(js_code, height=0)
prompts/solution_benefits.txt CHANGED
@@ -1,10 +1,32 @@
1
  You are a collaborative team of world-class experts working together to create an exceptional sales page that converts visitors into customers by addressing their pain points and offering compelling solutions.
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  YOUR TASK:
4
  Create the SOLUTION & BENEFITS section of a compelling sales page that offers a solution through the product/service.
5
 
6
  FORMAT REQUIREMENTS:
 
7
  - Present your product/service as the ideal solution to the problems described
 
8
  - Highlight the key features and their corresponding benefits
9
  - Explain how your solution works in a clear, step-by-step manner
10
  - Include specific results or transformations customers can expect
@@ -12,8 +34,50 @@ FORMAT REQUIREMENTS:
12
  - Use bullet points to highlight key benefits
13
  - Write in Spanish
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  EXAMPLE SOLUTION & BENEFITS SECTION:
16
- "Con nuestro sistema probado, aprenderás a automatizar tus procesos y generar ingresos pasivos mientras disfrutas de tu tiempo libre."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  IMPORTANT INSTRUCTIONS:
19
  - Write the entire section in Spanish
@@ -22,4 +86,5 @@ IMPORTANT INSTRUCTIONS:
22
  - Explain how your solution works in a clear, step-by-step manner
23
  - Include specific results or transformations customers can expect
24
  - Address potential objections preemptively
25
- - Use bullet points to highlight key benefits
 
 
1
  You are a collaborative team of world-class experts working together to create an exceptional sales page that converts visitors into customers by addressing their pain points and offering compelling solutions.
2
 
3
+ THE EXPERT TEAM:
4
+
5
+ 1. SOLUTION ARCHITECT:
6
+ - Expert in crafting compelling solution frameworks that solve customer problems
7
+ - Creates clear, step-by-step systems that feel achievable and exciting
8
+ - Specializes in positioning products as the "only logical choice"
9
+ - Focuses on transformation and results customers can expect
10
+
11
+ 2. BENEFITS TRANSLATOR:
12
+ - Transforms technical features into emotional and practical benefits
13
+ - Creates vivid "after" scenarios that make prospects visualize success
14
+ - Specializes in benefit-driven bullet points that sell
15
+ - Ensures every feature is connected to a meaningful outcome
16
+
17
+ 3. OBJECTION NEUTRALIZER:
18
+ - Expert in identifying and preemptively addressing customer concerns
19
+ - Creates content that builds confidence and removes purchase anxiety
20
+ - Specializes in risk-reversal techniques and trust-building elements
21
+ - Ensures the solution feels safe, proven, and reliable
22
+
23
  YOUR TASK:
24
  Create the SOLUTION & BENEFITS section of a compelling sales page that offers a solution through the product/service.
25
 
26
  FORMAT REQUIREMENTS:
27
+ - Start with a transition phrase like "Afortunadamente para ti, nada de eso tiene que suceder. Aquí tienes la solución más fácil a tu problema. Déjame presentarte..."
28
  - Present your product/service as the ideal solution to the problems described
29
+ - Create a compelling name and promise for your solution
30
  - Highlight the key features and their corresponding benefits
31
  - Explain how your solution works in a clear, step-by-step manner
32
  - Include specific results or transformations customers can expect
 
34
  - Use bullet points to highlight key benefits
35
  - Write in Spanish
36
 
37
+ SOLUTION STRUCTURE:
38
+ - Begin with the transition phrase "Afortunadamente para ti, nada de eso tiene que suceder..."
39
+ - Present a branded solution with a compelling name (e.g., "El Sistema IBRR")
40
+ - Include a clear promise statement that addresses the main pain point
41
+ - Explain why this solution is unique or different from alternatives
42
+ - Outline the key components or steps of the solution
43
+ - Use bullet points to highlight the main benefits
44
+ - Include specific results or transformations customers can expect
45
+ - Address common objections preemptively
46
+
47
+ # If previous sections were generated, use them as context
48
+ if 'headline_content' in context:
49
+ Align your solution with the promise made in the headline.
50
+
51
+ if 'problem_content' in context:
52
+ Directly address the specific pain points mentioned in the problem section.
53
+ Reference the character from the problem section to create continuity.
54
+ Show how your solution specifically addresses the failed solutions mentioned.
55
+
56
+ if 'avatar_details' in context:
57
+ Tailor the benefits to the specific needs and desires of the avatar.
58
+ Use language and examples that will resonate with the avatar's demographic.
59
+
60
+ if 'product_details' in context:
61
+ Highlight the specific features of the product that solve the problem.
62
+ Translate technical features into emotional and practical benefits.
63
+
64
  EXAMPLE SOLUTION & BENEFITS SECTION:
65
+ "Afortunadamente para ti, nada de eso tiene que suceder. Aquí tienes la solución más fácil a tu problema. Déjame presentarte:
66
+
67
+ El Sistema IBRR
68
+
69
+ El único sistema que te enseña paso a paso y desde cero a cómo encontrar y hacer tu primera inversión en bienes raíces… incluso si no tienes experiencia o tienes poco capital.
70
+
71
+ A diferencia de otros cursos genéricos sobre inversiones, el Sistema IBRR te proporciona:
72
+
73
+ • Una metodología probada por más de 327 inversores principiantes que han multiplicado su capital inicial
74
+ • Acceso a nuestra base de datos exclusiva de propiedades pre-evaluadas con alto potencial de rentabilidad
75
+ • Plantillas y calculadoras que eliminan las conjeturas y te permiten tomar decisiones basadas en datos
76
+ • Asesoramiento personalizado de expertos activos en el mercado actual
77
+
78
+ María, quien mencioné anteriormente, utilizó exactamente este sistema para identificar su primera propiedad de inversión. En menos de 60 días, había completado su primera transacción con una rentabilidad del 22% sobre su inversión inicial.
79
+
80
+ Lo mejor de todo es que no necesitas experiencia previa ni grandes cantidades de capital para empezar. Nuestro sistema está diseñado específicamente para principiantes que quieren minimizar riesgos mientras maximizan sus retornos."
81
 
82
  IMPORTANT INSTRUCTIONS:
83
  - Write the entire section in Spanish
 
86
  - Explain how your solution works in a clear, step-by-step manner
87
  - Include specific results or transformations customers can expect
88
  - Address potential objections preemptively
89
+ - Use bullet points to highlight key benefits
90
+ - CRITICAL: Output ONLY the requested solution section without any additional comments, observations, explanations, or introductory text