Spaces:
Running
Running
Upload 4 files
Browse files- app.py +121 -117
- manual.md +107 -107
- puv_formulas.py +148 -148
- styles.py +16 -1
app.py
CHANGED
@@ -1,118 +1,122 @@
|
|
1 |
-
from dotenv import load_dotenv
|
2 |
-
import streamlit as st
|
3 |
-
import os
|
4 |
-
import google.generativeai as genai
|
5 |
-
from puv_formulas import puv_formulas
|
6 |
-
from styles import apply_styles
|
7 |
-
|
8 |
-
# Cargar variables de entorno
|
9 |
-
load_dotenv()
|
10 |
-
|
11 |
-
# Configurar API de Google Gemini
|
12 |
-
genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
13 |
-
|
14 |
-
# Función para obtener la respuesta del modelo Gemini
|
15 |
-
def get_gemini_response(product_service, target_audience, formula_type, temperature):
|
16 |
-
if not product_service or not target_audience:
|
17 |
-
return "Please complete all required fields."
|
18 |
-
|
19 |
-
formula = puv_formulas[formula_type]
|
20 |
-
|
21 |
-
model = genai.GenerativeModel('gemini-2.0-flash')
|
22 |
-
full_prompt = f"""
|
23 |
-
You are a UVP (Unique Value Proposition) expert. Analyze (internally only, do not output the analysis) the following information:
|
24 |
-
BUSINESS INFORMATION:
|
25 |
-
Product/Service: {product_service}
|
26 |
-
Target Audience: {target_audience}
|
27 |
-
Formula Type: {formula_type}
|
28 |
-
{formula["description"]}
|
29 |
-
|
30 |
-
EXAMPLE TO FOLLOW:
|
31 |
-
{formula["examples"]}
|
32 |
-
|
33 |
-
First, analyze (but don't output) these points:
|
34 |
-
1. TARGET AUDIENCE ANALYSIS - Pain Points:
|
35 |
-
- What specific frustrations does this audience experience?
|
36 |
-
- What are their biggest daily challenges?
|
37 |
-
- What emotional problems do they face?
|
38 |
-
- What have they tried before that didn't work?
|
39 |
-
- What's stopping them from achieving their goals?
|
40 |
-
|
41 |
-
2. PRODUCT/SERVICE ANALYSIS - Benefits:
|
42 |
-
- What tangible results do clients get?
|
43 |
-
- What specific transformation does it offer?
|
44 |
-
- What's the unique method or differentiator?
|
45 |
-
- What competitive advantages does it have?
|
46 |
-
- What emotional benefits does it provide?
|
47 |
-
|
48 |
-
Based on your internal analysis of the target audience pain points and product benefits (do not include this analysis in the output), create THREE different UVPs in Spanish language following the formula structure provided.
|
49 |
-
CRITICAL INSTRUCTIONS:
|
50 |
-
- Each UVP must be specific and measurable
|
51 |
-
- Focus on the transformation journey
|
52 |
-
- Use natural, conversational language
|
53 |
-
- Avoid generic phrases and buzzwords
|
54 |
-
- Maximum 2 lines per UVP
|
55 |
-
- DO NOT include any analysis in the output
|
56 |
-
- ONLY output the three UVPs
|
57 |
-
|
58 |
-
Output EXACTLY in this format (no additional text) in Spanish language:
|
59 |
-
1. [First UVP]
|
60 |
-
2. [Second UVP]
|
61 |
-
3. [Third UVP]
|
62 |
-
"""
|
63 |
-
|
64 |
-
response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
|
65 |
-
return response.parts[0].text if response and response.parts else "Error generating content."
|
66 |
-
|
67 |
-
# Configurar la aplicación Streamlit
|
68 |
-
st.set_page_config(page_title="UVP Generator", page_icon="💡", layout="wide")
|
69 |
-
|
70 |
-
#
|
71 |
-
st.markdown(
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
#
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
"
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
|
|
|
|
|
|
118 |
st.write(response)
|
|
|
1 |
+
from dotenv import load_dotenv
|
2 |
+
import streamlit as st
|
3 |
+
import os
|
4 |
+
import google.generativeai as genai
|
5 |
+
from puv_formulas import puv_formulas
|
6 |
+
from styles import apply_styles
|
7 |
+
|
8 |
+
# Cargar variables de entorno
|
9 |
+
load_dotenv()
|
10 |
+
|
11 |
+
# Configurar API de Google Gemini
|
12 |
+
genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
13 |
+
|
14 |
+
# Función para obtener la respuesta del modelo Gemini
|
15 |
+
def get_gemini_response(product_service, target_audience, formula_type, temperature):
|
16 |
+
if not product_service or not target_audience:
|
17 |
+
return "Please complete all required fields."
|
18 |
+
|
19 |
+
formula = puv_formulas[formula_type]
|
20 |
+
|
21 |
+
model = genai.GenerativeModel('gemini-2.0-flash')
|
22 |
+
full_prompt = f"""
|
23 |
+
You are a UVP (Unique Value Proposition) expert. Analyze (internally only, do not output the analysis) the following information:
|
24 |
+
BUSINESS INFORMATION:
|
25 |
+
Product/Service: {product_service}
|
26 |
+
Target Audience: {target_audience}
|
27 |
+
Formula Type: {formula_type}
|
28 |
+
{formula["description"]}
|
29 |
+
|
30 |
+
EXAMPLE TO FOLLOW:
|
31 |
+
{formula["examples"]}
|
32 |
+
|
33 |
+
First, analyze (but don't output) these points:
|
34 |
+
1. TARGET AUDIENCE ANALYSIS - Pain Points:
|
35 |
+
- What specific frustrations does this audience experience?
|
36 |
+
- What are their biggest daily challenges?
|
37 |
+
- What emotional problems do they face?
|
38 |
+
- What have they tried before that didn't work?
|
39 |
+
- What's stopping them from achieving their goals?
|
40 |
+
|
41 |
+
2. PRODUCT/SERVICE ANALYSIS - Benefits:
|
42 |
+
- What tangible results do clients get?
|
43 |
+
- What specific transformation does it offer?
|
44 |
+
- What's the unique method or differentiator?
|
45 |
+
- What competitive advantages does it have?
|
46 |
+
- What emotional benefits does it provide?
|
47 |
+
|
48 |
+
Based on your internal analysis of the target audience pain points and product benefits (do not include this analysis in the output), create THREE different UVPs in Spanish language following the formula structure provided.
|
49 |
+
CRITICAL INSTRUCTIONS:
|
50 |
+
- Each UVP must be specific and measurable
|
51 |
+
- Focus on the transformation journey
|
52 |
+
- Use natural, conversational language
|
53 |
+
- Avoid generic phrases and buzzwords
|
54 |
+
- Maximum 2 lines per UVP
|
55 |
+
- DO NOT include any analysis in the output
|
56 |
+
- ONLY output the three UVPs
|
57 |
+
|
58 |
+
Output EXACTLY in this format (no additional text) in Spanish language:
|
59 |
+
1. [First UVP]
|
60 |
+
2. [Second UVP]
|
61 |
+
3. [Third UVP]
|
62 |
+
"""
|
63 |
+
|
64 |
+
response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
|
65 |
+
return response.parts[0].text if response and response.parts else "Error generating content."
|
66 |
+
|
67 |
+
# Configurar la aplicación Streamlit
|
68 |
+
st.set_page_config(page_title="UVP Generator", page_icon="💡", layout="wide")
|
69 |
+
|
70 |
+
# Aplicar estilos
|
71 |
+
st.markdown(apply_styles(), unsafe_allow_html=True)
|
72 |
+
|
73 |
+
# Título de la app
|
74 |
+
st.markdown("<h1>Generador de PUV</h1>", unsafe_allow_html=True)
|
75 |
+
st.markdown("<h3>Crea Propuestas Únicas de Valor poderosas que atraigan a tus clientes ideales y comuniquen tu valor de manera efectiva.</h3>", unsafe_allow_html=True)
|
76 |
+
|
77 |
+
# Sidebar manual
|
78 |
+
with open("manual.md", "r", encoding="utf-8") as file:
|
79 |
+
manual_content = file.read()
|
80 |
+
st.sidebar.markdown(manual_content)
|
81 |
+
|
82 |
+
# Crear dos columnas
|
83 |
+
col1, col2 = st.columns([1, 1])
|
84 |
+
|
85 |
+
# Columna izquierda para inputs
|
86 |
+
with col1:
|
87 |
+
target_audience = st.text_area(
|
88 |
+
"¿Cuál es tu público objetivo?",
|
89 |
+
placeholder="Ejemplo: Coaches que quieren atraer más clientes..."
|
90 |
+
)
|
91 |
+
|
92 |
+
product_service = st.text_area(
|
93 |
+
"¿Cuál es tu producto o servicio?",
|
94 |
+
placeholder="Ejemplo: Curso de copywriting con IA, Programa de coaching..."
|
95 |
+
)
|
96 |
+
|
97 |
+
with st.expander("Opciones avanzadas"):
|
98 |
+
formula_type = st.selectbox(
|
99 |
+
"Fórmula PUV:",
|
100 |
+
options=list(puv_formulas.keys())
|
101 |
+
)
|
102 |
+
temperature = st.slider(
|
103 |
+
"Nivel de creatividad:",
|
104 |
+
min_value=0.0,
|
105 |
+
max_value=2.0,
|
106 |
+
value=1.0,
|
107 |
+
step=0.1,
|
108 |
+
help="Valores más altos generan propuestas más creativas pero menos predecibles."
|
109 |
+
)
|
110 |
+
|
111 |
+
generate_button = st.button("Generar PUV")
|
112 |
+
|
113 |
+
with col2:
|
114 |
+
if generate_button:
|
115 |
+
response = get_gemini_response(
|
116 |
+
product_service,
|
117 |
+
target_audience,
|
118 |
+
formula_type,
|
119 |
+
temperature
|
120 |
+
)
|
121 |
+
st.write("### Propuestas Únicas de Valor")
|
122 |
st.write(response)
|
manual.md
CHANGED
@@ -1,108 +1,108 @@
|
|
1 |
-
**Bienvenido
|
2 |
-
|
3 |
-
Crea Propuestas Únicas de Valor (PUV) persuasivas que conecten con tus clientes ideales y comuniquen efectivamente tu valor en el mercado.
|
4 |
-
|
5 |
-
### ¿Cómo usar el Generador de PUV?
|
6 |
-
|
7 |
-
Sigue estos pasos para aprovechar al máximo la herramienta:
|
8 |
-
|
9 |
-
### 1. Configuración Básica
|
10 |
-
|
11 |
-
#### Producto/Servicio
|
12 |
-
- Describe tu solución claramente
|
13 |
-
- Enfócate en los beneficios principales
|
14 |
-
- Ejemplos específicos:
|
15 |
-
|
16 |
-
- "Curso de LinkedIn Orgánico: De 0 a 10k seguidores en 90 días"
|
17 |
-
- "Software de Automatización para Pequeños Negocios"
|
18 |
-
- "Programa de Coaching Transformacional de 12 Semanas"
|
19 |
-
- "Agencia de Marketing Digital Especializada en E-commerce"
|
20 |
-
- "Plataforma de Cursos Online para Creadores"
|
21 |
-
|
22 |
-
#### Público Objetivo
|
23 |
-
- Define quién es tu cliente ideal
|
24 |
-
- Incluye sus dolores, deseos y aspiraciones
|
25 |
-
- Ejemplos detallados:
|
26 |
-
|
27 |
-
- "Emprendedores digitales entre 30-45 años que luchan por conseguir clientes en LinkedIn"
|
28 |
-
- "Coaches profesionales que quieren destacar en un mercado saturado"
|
29 |
-
- "Dueños de pequeños negocios que buscan automatizar sus procesos"
|
30 |
-
- "Dueños de tiendas online con ingresos de $10k-50k mensuales"
|
31 |
-
- "Creadores de contenido que luchan por monetizar su audiencia"
|
32 |
-
|
33 |
-
### 2. Fórmulas Disponibles
|
34 |
-
|
35 |
-
#### Fórmula Tradicional
|
36 |
-
Ideal para:
|
37 |
-
- Comunicación clara y directa del valor
|
38 |
-
- Negocios de servicios
|
39 |
-
- Servicios profesionales
|
40 |
-
- Ofertas B2B
|
41 |
-
- Cuando la claridad es primordial
|
42 |
-
|
43 |
-
#### Contrato Imposible
|
44 |
-
Ideal para:
|
45 |
-
- Ofertas disruptivas
|
46 |
-
- Soluciones innovadoras
|
47 |
-
- Desafiar las normas de la industria
|
48 |
-
- Productos/servicios de alto ticket
|
49 |
-
- Cuando quieres destacar
|
50 |
-
|
51 |
-
#### Reto Ridículo
|
52 |
-
Ideal para:
|
53 |
-
- Simplificar soluciones complejas
|
54 |
-
- Romper barreras
|
55 |
-
- Abordar frustraciones comunes
|
56 |
-
- Cuando quieres mostrar facilidad de uso
|
57 |
-
- Convertir escépticos
|
58 |
-
|
59 |
-
### 3. Mejores Prácticas
|
60 |
-
|
61 |
-
#### Para Resultados Óptimos
|
62 |
-
1. Sé específico con tu público objetivo
|
63 |
-
- ❌ "Emprendedores que quieren vender más"
|
64 |
-
- ✅ "Emprendedores de e-commerce que facturan $5k-$10k mensuales y buscan escalar"
|
65 |
-
|
66 |
-
2. Enfócate en la transformación
|
67 |
-
- ❌ "Un buen curso de marketing"
|
68 |
-
- ✅ "Un sistema probado que convierte coaches frustrados en expertos con agenda llena"
|
69 |
-
|
70 |
-
3. Usa resultados medibles
|
71 |
-
- ❌ "Mejora tu negocio"
|
72 |
-
- ✅ "Duplica tu base de clientes en 90 días"
|
73 |
-
|
74 |
-
4. Incluye diferenciadores
|
75 |
-
- ❌ "Ayudo a negocios a crecer"
|
76 |
-
- ✅ "Ayudo a proveedores de servicios a triplicar sus precios sin perder clientes"
|
77 |
-
|
78 |
-
#### Evitar
|
79 |
-
1. Declaraciones genéricas
|
80 |
-
- ❌ "El mejor servicio del mercado"
|
81 |
-
- ✅ "La única estrategia de LinkedIn que garantiza 50 leads mensuales"
|
82 |
-
|
83 |
-
2. Jerga técnica
|
84 |
-
- ❌ "Implementando modelos de atribución multicanal"
|
85 |
-
- ✅ "Por fin sabrás exactamente de dónde vienen tus mejores clientes"
|
86 |
-
|
87 |
-
3. Promesas vagas
|
88 |
-
- ❌ "Obtén mejores resultados"
|
89 |
-
- ✅ "Genera tus primeros $10k mensuales en 90 días"
|
90 |
-
|
91 |
-
### Consejos Avanzados
|
92 |
-
|
93 |
-
1. **Ajuste del Nivel de Creatividad**
|
94 |
-
- Bajo (0.0-0.7): Resultados más conservadores y consistentes
|
95 |
-
- Medio (0.8-1.2): Balance entre creatividad y confiabilidad
|
96 |
-
- Alto (1.3-2.0): Ángulos más innovadores e inesperados
|
97 |
-
|
98 |
-
2. **Selección de Fórmula**
|
99 |
-
- Tradicional: Cuando la claridad y directividad son clave
|
100 |
-
- Contrato Imposible: Cuando buscas disrumpir el mercado
|
101 |
-
- Reto Ridículo: Cuando simplificas la complejidad
|
102 |
-
|
103 |
-
3. **Pruebas y Mejora**
|
104 |
-
- Prueba diferentes fórmulas para la misma oferta
|
105 |
-
- Experimenta con varios niveles de creatividad
|
106 |
-
- Mantén lo que resuena con tu audiencia
|
107 |
-
|
108 |
Recuerda: Una gran PUV debe hacer que tu cliente ideal piense, "¡Esto es exactamente lo que estaba buscando!"
|
|
|
1 |
+
**Bienvenido al Generador de PUV**
|
2 |
+
|
3 |
+
Crea Propuestas Únicas de Valor (PUV) persuasivas que conecten con tus clientes ideales y comuniquen efectivamente tu valor en el mercado.
|
4 |
+
|
5 |
+
### ¿Cómo usar el Generador de PUV?
|
6 |
+
|
7 |
+
Sigue estos pasos para aprovechar al máximo la herramienta:
|
8 |
+
|
9 |
+
### 1. Configuración Básica
|
10 |
+
|
11 |
+
#### Producto/Servicio
|
12 |
+
- Describe tu solución claramente
|
13 |
+
- Enfócate en los beneficios principales
|
14 |
+
- Ejemplos específicos:
|
15 |
+
|
16 |
+
- "Curso de LinkedIn Orgánico: De 0 a 10k seguidores en 90 días"
|
17 |
+
- "Software de Automatización para Pequeños Negocios"
|
18 |
+
- "Programa de Coaching Transformacional de 12 Semanas"
|
19 |
+
- "Agencia de Marketing Digital Especializada en E-commerce"
|
20 |
+
- "Plataforma de Cursos Online para Creadores"
|
21 |
+
|
22 |
+
#### Público Objetivo
|
23 |
+
- Define quién es tu cliente ideal
|
24 |
+
- Incluye sus dolores, deseos y aspiraciones
|
25 |
+
- Ejemplos detallados:
|
26 |
+
|
27 |
+
- "Emprendedores digitales entre 30-45 años que luchan por conseguir clientes en LinkedIn"
|
28 |
+
- "Coaches profesionales que quieren destacar en un mercado saturado"
|
29 |
+
- "Dueños de pequeños negocios que buscan automatizar sus procesos"
|
30 |
+
- "Dueños de tiendas online con ingresos de $10k-50k mensuales"
|
31 |
+
- "Creadores de contenido que luchan por monetizar su audiencia"
|
32 |
+
|
33 |
+
### 2. Fórmulas Disponibles
|
34 |
+
|
35 |
+
#### Fórmula Tradicional
|
36 |
+
Ideal para:
|
37 |
+
- Comunicación clara y directa del valor
|
38 |
+
- Negocios de servicios
|
39 |
+
- Servicios profesionales
|
40 |
+
- Ofertas B2B
|
41 |
+
- Cuando la claridad es primordial
|
42 |
+
|
43 |
+
#### Contrato Imposible
|
44 |
+
Ideal para:
|
45 |
+
- Ofertas disruptivas
|
46 |
+
- Soluciones innovadoras
|
47 |
+
- Desafiar las normas de la industria
|
48 |
+
- Productos/servicios de alto ticket
|
49 |
+
- Cuando quieres destacar
|
50 |
+
|
51 |
+
#### Reto Ridículo
|
52 |
+
Ideal para:
|
53 |
+
- Simplificar soluciones complejas
|
54 |
+
- Romper barreras
|
55 |
+
- Abordar frustraciones comunes
|
56 |
+
- Cuando quieres mostrar facilidad de uso
|
57 |
+
- Convertir escépticos
|
58 |
+
|
59 |
+
### 3. Mejores Prácticas
|
60 |
+
|
61 |
+
#### Para Resultados Óptimos
|
62 |
+
1. Sé específico con tu público objetivo
|
63 |
+
- ❌ "Emprendedores que quieren vender más"
|
64 |
+
- ✅ "Emprendedores de e-commerce que facturan $5k-$10k mensuales y buscan escalar"
|
65 |
+
|
66 |
+
2. Enfócate en la transformación
|
67 |
+
- ❌ "Un buen curso de marketing"
|
68 |
+
- ✅ "Un sistema probado que convierte coaches frustrados en expertos con agenda llena"
|
69 |
+
|
70 |
+
3. Usa resultados medibles
|
71 |
+
- ❌ "Mejora tu negocio"
|
72 |
+
- ✅ "Duplica tu base de clientes en 90 días"
|
73 |
+
|
74 |
+
4. Incluye diferenciadores
|
75 |
+
- ❌ "Ayudo a negocios a crecer"
|
76 |
+
- ✅ "Ayudo a proveedores de servicios a triplicar sus precios sin perder clientes"
|
77 |
+
|
78 |
+
#### Evitar
|
79 |
+
1. Declaraciones genéricas
|
80 |
+
- ❌ "El mejor servicio del mercado"
|
81 |
+
- ✅ "La única estrategia de LinkedIn que garantiza 50 leads mensuales"
|
82 |
+
|
83 |
+
2. Jerga técnica
|
84 |
+
- ❌ "Implementando modelos de atribución multicanal"
|
85 |
+
- ✅ "Por fin sabrás exactamente de dónde vienen tus mejores clientes"
|
86 |
+
|
87 |
+
3. Promesas vagas
|
88 |
+
- ❌ "Obtén mejores resultados"
|
89 |
+
- ✅ "Genera tus primeros $10k mensuales en 90 días"
|
90 |
+
|
91 |
+
### Consejos Avanzados
|
92 |
+
|
93 |
+
1. **Ajuste del Nivel de Creatividad**
|
94 |
+
- Bajo (0.0-0.7): Resultados más conservadores y consistentes
|
95 |
+
- Medio (0.8-1.2): Balance entre creatividad y confiabilidad
|
96 |
+
- Alto (1.3-2.0): Ángulos más innovadores e inesperados
|
97 |
+
|
98 |
+
2. **Selección de Fórmula**
|
99 |
+
- Tradicional: Cuando la claridad y directividad son clave
|
100 |
+
- Contrato Imposible: Cuando buscas disrumpir el mercado
|
101 |
+
- Reto Ridículo: Cuando simplificas la complejidad
|
102 |
+
|
103 |
+
3. **Pruebas y Mejora**
|
104 |
+
- Prueba diferentes fórmulas para la misma oferta
|
105 |
+
- Experimenta con varios niveles de creatividad
|
106 |
+
- Mantén lo que resuena con tu audiencia
|
107 |
+
|
108 |
Recuerda: Una gran PUV debe hacer que tu cliente ideal piense, "¡Esto es exactamente lo que estaba buscando!"
|
puv_formulas.py
CHANGED
@@ -1,149 +1,149 @@
|
|
1 |
-
puv_formulas = {
|
2 |
-
"Fórmula Tradicional": {
|
3 |
-
"description": """
|
4 |
-
The Traditional Formula creates a clear and direct UVP that focuses on four key objectives:
|
5 |
-
- Attracting your ideal client by highlighting specific characteristics and pain points
|
6 |
-
- Repelling non-ideal clients to ensure resource efficiency
|
7 |
-
- Explaining the promised transformation clearly
|
8 |
-
- Generating purchase commitment through value demonstration
|
9 |
-
|
10 |
-
Structure:
|
11 |
-
1. I help [SPECIFIC AVATAR]
|
12 |
-
(Describe in detail: situation, problems, desires)
|
13 |
-
|
14 |
-
2. To achieve [PROMISED TRANSFORMATION]
|
15 |
-
(Explain the change/result simply and convincingly)
|
16 |
-
|
17 |
-
Key elements to include:
|
18 |
-
- Emotional appeal
|
19 |
-
- Clear and direct language
|
20 |
-
- Service highlights
|
21 |
-
- Natural filtering of non-ideal clients
|
22 |
-
""",
|
23 |
-
"examples": [
|
24 |
-
{
|
25 |
-
"target_audience": "mujeres empresarias solteras con poco tiempo para el amor",
|
26 |
-
"product_service": "programa de citas y relaciones para ejecutivas",
|
27 |
-
"uvp": "Yo ayudo a mujeres empresarias solteras con poco tiempo para el amor, que se sienten atrapadas en su carrera y han tenido malas experiencias en el pasado, a conseguir una pareja compatible que respete su éxito y su tiempo, sin tener que perderse en citas frustrantes ni en relaciones que no aportan nada."
|
28 |
-
},
|
29 |
-
{
|
30 |
-
"target_audience": "geeks introvertidos obsesionados con los videojuegos", # Removed 'mi'
|
31 |
-
"product_service": "transformación a streamers exitosos",
|
32 |
-
"uvp": "Yo ayudo a geeks introvertidos obsesionados con los videojuegos, que pasan más tiempo hablando con NPCs que con personas reales y cuyo único ejercicio es mover el pulgar en el control, a transformarse en streamers exitosos que gana dinero jugando, sin tener que abandonar su cueva ni fingir ser extrovertidos."
|
33 |
-
},
|
34 |
-
{
|
35 |
-
"target_audience": "millennials traumatizados por Excel",
|
36 |
-
"product_service": "programa de dominio de datos y automatización",
|
37 |
-
"uvp": "Yo ayudo a millennials traumatizados por Excel que rompen en sudor frío cada vez que su jefe menciona 'tablas dinámicas', y que han fingido entender fórmulas durante años, a convertirse en magos de los datos que impresionan a sus colegas con automatizaciones brillantes, sin tener que memorizar ni una sola fórmula matemática."
|
38 |
-
},
|
39 |
-
{
|
40 |
-
"target_audience": "emprendedores caóticos desorganizados",
|
41 |
-
"product_service": "sistema de productividad para mentes creativas",
|
42 |
-
"uvp": "Yo ayudo a emprendedores caóticos que tienen más ideas que organización, cuyo escritorio parece zona de desastre y que pierden más tiempo buscando archivos que trabajando, a crear sistemas de productividad que funcionan incluso para mentes creativas dispersas, sin convertirse en robots corporativos aburridos."
|
43 |
-
}
|
44 |
-
]
|
45 |
-
},
|
46 |
-
"Contrato Imposible": {
|
47 |
-
"description": """
|
48 |
-
The "Impossible Contract" formula creates a compelling and disruptive UVP by challenging conventional approaches.
|
49 |
-
It works by:
|
50 |
-
- Making a bold, specific promise to a well-defined audience
|
51 |
-
- Presenting your solution in an unexpected, intriguing way
|
52 |
-
- Highlighting a transformative benefit that seems "too good to be true"
|
53 |
-
- Differentiating from traditional solutions by stating what you won't do
|
54 |
-
|
55 |
-
This formula is particularly effective when you want to:
|
56 |
-
- Stand out in a crowded market
|
57 |
-
- Challenge industry conventions
|
58 |
-
- Appeal to audiences frustrated with traditional solutions
|
59 |
-
- Create an emotional connection while maintaining credibility
|
60 |
-
|
61 |
-
Structure:
|
62 |
-
1. I offer [TARGET AUDIENCE]
|
63 |
-
(Be specific: e.g., "single business women with no time for love", "busy parents planning parties")
|
64 |
-
|
65 |
-
2. [PRODUCT/SERVICE]
|
66 |
-
(Describe it in a fun, unexpected way that shows transformation)
|
67 |
-
|
68 |
-
3. You won't believe [TRANSFORMATIVE BENEFIT]
|
69 |
-
(Must be directly related to the expected change/result)
|
70 |
-
|
71 |
-
4. But watch out: [ANTI-TRADITIONAL APPROACH]
|
72 |
-
(Show how you're different from conventional solutions)
|
73 |
-
""",
|
74 |
-
"examples": [
|
75 |
-
{
|
76 |
-
"target_audience": "mujeres empresarias solteras con poco tiempo para el amor",
|
77 |
-
"product_service": "curso transformador de relaciones",
|
78 |
-
"uvp": "Yo ofrezco a mujeres empresarias solteras con poco tiempo para el amor, un curso transformador que les enseña cómo atraer una pareja compatible sin sacrificar su carrera. No tendrás que perder tiempo en citas sin futuro ni en apps de citas que no aportan nada. Lo mejor de todo es que conseguirás una pareja que valora tu tiempo y tu éxito, sin tener que cambiar quién eres ni hacerte pasar por alguien más."
|
79 |
-
},
|
80 |
-
{
|
81 |
-
"target_audience": "diseñadores gráficos frustrados con clientes imposibles",
|
82 |
-
"product_service": "sistema de automatización de proyectos creativos",
|
83 |
-
"uvp": "Yo ofrezco a diseñadores gráficos hartos de clientes que piden 'algo más moderno' sin saber qué quieren, un sistema revolucionario que automatiza el 80% de las revisiones infinitas. No más noches en vela haciendo cambios insignificantes ni presentaciones interminables. Lo mejor es que duplicarás tus ingresos trabajando la mitad del tiempo, sin tener que sacrificar tu visión creativa ni convertirte en un robot corporativo."
|
84 |
-
},
|
85 |
-
{
|
86 |
-
"target_audience": "emprendedores tecnológicos con miedo a hablar en público",
|
87 |
-
"product_service": "programa de presentaciones impactantes",
|
88 |
-
"uvp": "Yo ofrezco a emprendedores tech que prefieren código que conversaciones, un método único para dominar presentaciones sin memorizar guiones robóticos. Olvídate de sudar frío antes de cada pitch o fingir ser un showman extrovertido. Lo increíble es que cautivarás a cualquier inversor siendo 100% tú mismo, usando tu naturaleza analítica como superpoder."
|
89 |
-
},
|
90 |
-
{
|
91 |
-
"target_audience": "profesionales del fitness adictos al trabajo",
|
92 |
-
"product_service": "sistema de entrenamiento remoto",
|
93 |
-
"uvp": "Yo ofrezco a entrenadores fitness workahólicos un sistema revolucionario para generar ingresos mientras duermes. No más madrugar a las 5 AM ni sacrificar tu propio entrenamiento. Lo sorprendente es que ganarás más dinero entrenando menos personas, sin convertirte en un vendedor agresivo ni perder la conexión personal con tus clientes."
|
94 |
-
}
|
95 |
-
]
|
96 |
-
},
|
97 |
-
"Reto Ridículo": {
|
98 |
-
"description": """
|
99 |
-
The "Ridiculous Challenge" formula transforms complex problems into surprisingly simple solutions using humor and relatability.
|
100 |
-
Structure:
|
101 |
-
1. Opening Statement [HOOK]
|
102 |
-
- Start with "Tú sabes que..." or a bold statement
|
103 |
-
- Make it conversational and relatable
|
104 |
-
- Use humor or mild sarcasm when appropriate
|
105 |
-
|
106 |
-
2. The Secret [SOLUTION]
|
107 |
-
- Introduce with "Pero yo tengo un secreto..."
|
108 |
-
- Present an unexpected, counter-intuitive solution
|
109 |
-
- Keep it simple and clear
|
110 |
-
|
111 |
-
3. The Simple Truth [TRANSFORMATION]
|
112 |
-
- Begin with "Y en realidad, es mucho más fácil..."
|
113 |
-
- Show how simple the solution really is
|
114 |
-
- Add specific, tangible elements (numbers, time frames, concrete steps)
|
115 |
-
- End with a clear, achievable outcome
|
116 |
-
|
117 |
-
Key elements to include:
|
118 |
-
- Conversational tone throughout
|
119 |
-
- Specific numbers or timeframes
|
120 |
-
- Light humor or gentle sarcasm
|
121 |
-
- Contrast between perceived complexity and actual simplicity
|
122 |
-
- Relatable pain points
|
123 |
-
- Anti-guru approach when relevant
|
124 |
-
- Practical, down-to-earth solutions
|
125 |
-
""",
|
126 |
-
"examples": [
|
127 |
-
{
|
128 |
-
"target_audience": "expertos en finanzas personales",
|
129 |
-
"product_service": "método de educación financiera simplificada",
|
130 |
-
"uvp": "Tú sabes que como experto en finanzas personales, ayudar a tus clientes a tomar el control de su dinero puede sentirse como una batalla constante, ¿verdad? Pero yo tengo un secreto: no se trata de complejos consejos financieros, sino de simplificar su relación con el dinero con pasos prácticos y fáciles de seguir. Y en realidad, es mucho más fácil de lo que parece: lo único que necesitas es un enfoque claro y directo, y verás cómo tus clientes empiezan a ahorrar, invertir y prosperar sin estrés."
|
131 |
-
},
|
132 |
-
{
|
133 |
-
"target_audience": "nutricionistas",
|
134 |
-
"product_service": "sistema de cambio de hábitos sostenibles",
|
135 |
-
"uvp": "Tú sabes que como nutricionista, que tus pacientes sigan tus recomendaciones puede ser un verdadero desafío, ¿verdad? Pero yo tengo un secreto: en lugar de enfocarte en dietas estrictas, puedes guiarlos hacia hábitos sostenibles con pequeños cambios diarios que no les resulten abrumadores. Y en realidad, es mucho más fácil de lo que parece: solo necesitas un enfoque personalizado que se adapte a su estilo de vida y verás cómo comienzan a transformar su salud con facilidad."
|
136 |
-
},
|
137 |
-
{
|
138 |
-
"target_audience": "expertos en marketing",
|
139 |
-
"product_service": "método de storytelling auténtico",
|
140 |
-
"uvp": "Tú sabes que como experto en desarrollo personal, atraer clientes ideales no tiene que ser tan complicado como lanzar una campaña de publicidad millonaria, ¿verdad? Pero yo tengo un secreto: usar storytelling auténtico para conectar emocionalmente con tu audiencia es mucho más fácil de lo que piensas. Todo lo que tienes que hacer es hablar desde el corazón, y sí, los clientes que realmente te quieren encontrarán tu camino."
|
141 |
-
},
|
142 |
-
{
|
143 |
-
"target_audience": "coaches de productividad",
|
144 |
-
"product_service": "sistema de gestión del tiempo realista",
|
145 |
-
"uvp": "Tú sabes que como coach de productividad, pasas horas predicando sobre la gestión del tiempo mientras tu propia agenda es un caos apocalíptico, ¿verdad? Pero tengo un secreto hilarante: dejar de fingir que somos robots multitarea y aceptar nuestra humanidad es sorprendentemente efectivo. Y en realidad, es ridículamente simple: con mi método anti-guru aprenderás a hacer más trabajando menos, sin tener que levantarte a las 4am ni beber batidos de kale mientras meditas en posición de loto."
|
146 |
-
}
|
147 |
-
]
|
148 |
-
}
|
149 |
}
|
|
|
1 |
+
puv_formulas = {
|
2 |
+
"Fórmula Tradicional": {
|
3 |
+
"description": """
|
4 |
+
The Traditional Formula creates a clear and direct UVP that focuses on four key objectives:
|
5 |
+
- Attracting your ideal client by highlighting specific characteristics and pain points
|
6 |
+
- Repelling non-ideal clients to ensure resource efficiency
|
7 |
+
- Explaining the promised transformation clearly
|
8 |
+
- Generating purchase commitment through value demonstration
|
9 |
+
|
10 |
+
Structure:
|
11 |
+
1. I help [SPECIFIC AVATAR]
|
12 |
+
(Describe in detail: situation, problems, desires)
|
13 |
+
|
14 |
+
2. To achieve [PROMISED TRANSFORMATION]
|
15 |
+
(Explain the change/result simply and convincingly)
|
16 |
+
|
17 |
+
Key elements to include:
|
18 |
+
- Emotional appeal
|
19 |
+
- Clear and direct language
|
20 |
+
- Service highlights
|
21 |
+
- Natural filtering of non-ideal clients
|
22 |
+
""",
|
23 |
+
"examples": [
|
24 |
+
{
|
25 |
+
"target_audience": "mujeres empresarias solteras con poco tiempo para el amor",
|
26 |
+
"product_service": "programa de citas y relaciones para ejecutivas",
|
27 |
+
"uvp": "Yo ayudo a mujeres empresarias solteras con poco tiempo para el amor, que se sienten atrapadas en su carrera y han tenido malas experiencias en el pasado, a conseguir una pareja compatible que respete su éxito y su tiempo, sin tener que perderse en citas frustrantes ni en relaciones que no aportan nada."
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"target_audience": "geeks introvertidos obsesionados con los videojuegos", # Removed 'mi'
|
31 |
+
"product_service": "transformación a streamers exitosos",
|
32 |
+
"uvp": "Yo ayudo a geeks introvertidos obsesionados con los videojuegos, que pasan más tiempo hablando con NPCs que con personas reales y cuyo único ejercicio es mover el pulgar en el control, a transformarse en streamers exitosos que gana dinero jugando, sin tener que abandonar su cueva ni fingir ser extrovertidos."
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"target_audience": "millennials traumatizados por Excel",
|
36 |
+
"product_service": "programa de dominio de datos y automatización",
|
37 |
+
"uvp": "Yo ayudo a millennials traumatizados por Excel que rompen en sudor frío cada vez que su jefe menciona 'tablas dinámicas', y que han fingido entender fórmulas durante años, a convertirse en magos de los datos que impresionan a sus colegas con automatizaciones brillantes, sin tener que memorizar ni una sola fórmula matemática."
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"target_audience": "emprendedores caóticos desorganizados",
|
41 |
+
"product_service": "sistema de productividad para mentes creativas",
|
42 |
+
"uvp": "Yo ayudo a emprendedores caóticos que tienen más ideas que organización, cuyo escritorio parece zona de desastre y que pierden más tiempo buscando archivos que trabajando, a crear sistemas de productividad que funcionan incluso para mentes creativas dispersas, sin convertirse en robots corporativos aburridos."
|
43 |
+
}
|
44 |
+
]
|
45 |
+
},
|
46 |
+
"Contrato Imposible": {
|
47 |
+
"description": """
|
48 |
+
The "Impossible Contract" formula creates a compelling and disruptive UVP by challenging conventional approaches.
|
49 |
+
It works by:
|
50 |
+
- Making a bold, specific promise to a well-defined audience
|
51 |
+
- Presenting your solution in an unexpected, intriguing way
|
52 |
+
- Highlighting a transformative benefit that seems "too good to be true"
|
53 |
+
- Differentiating from traditional solutions by stating what you won't do
|
54 |
+
|
55 |
+
This formula is particularly effective when you want to:
|
56 |
+
- Stand out in a crowded market
|
57 |
+
- Challenge industry conventions
|
58 |
+
- Appeal to audiences frustrated with traditional solutions
|
59 |
+
- Create an emotional connection while maintaining credibility
|
60 |
+
|
61 |
+
Structure:
|
62 |
+
1. I offer [TARGET AUDIENCE]
|
63 |
+
(Be specific: e.g., "single business women with no time for love", "busy parents planning parties")
|
64 |
+
|
65 |
+
2. [PRODUCT/SERVICE]
|
66 |
+
(Describe it in a fun, unexpected way that shows transformation)
|
67 |
+
|
68 |
+
3. You won't believe [TRANSFORMATIVE BENEFIT]
|
69 |
+
(Must be directly related to the expected change/result)
|
70 |
+
|
71 |
+
4. But watch out: [ANTI-TRADITIONAL APPROACH]
|
72 |
+
(Show how you're different from conventional solutions)
|
73 |
+
""",
|
74 |
+
"examples": [
|
75 |
+
{
|
76 |
+
"target_audience": "mujeres empresarias solteras con poco tiempo para el amor",
|
77 |
+
"product_service": "curso transformador de relaciones",
|
78 |
+
"uvp": "Yo ofrezco a mujeres empresarias solteras con poco tiempo para el amor, un curso transformador que les enseña cómo atraer una pareja compatible sin sacrificar su carrera. No tendrás que perder tiempo en citas sin futuro ni en apps de citas que no aportan nada. Lo mejor de todo es que conseguirás una pareja que valora tu tiempo y tu éxito, sin tener que cambiar quién eres ni hacerte pasar por alguien más."
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"target_audience": "diseñadores gráficos frustrados con clientes imposibles",
|
82 |
+
"product_service": "sistema de automatización de proyectos creativos",
|
83 |
+
"uvp": "Yo ofrezco a diseñadores gráficos hartos de clientes que piden 'algo más moderno' sin saber qué quieren, un sistema revolucionario que automatiza el 80% de las revisiones infinitas. No más noches en vela haciendo cambios insignificantes ni presentaciones interminables. Lo mejor es que duplicarás tus ingresos trabajando la mitad del tiempo, sin tener que sacrificar tu visión creativa ni convertirte en un robot corporativo."
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"target_audience": "emprendedores tecnológicos con miedo a hablar en público",
|
87 |
+
"product_service": "programa de presentaciones impactantes",
|
88 |
+
"uvp": "Yo ofrezco a emprendedores tech que prefieren código que conversaciones, un método único para dominar presentaciones sin memorizar guiones robóticos. Olvídate de sudar frío antes de cada pitch o fingir ser un showman extrovertido. Lo increíble es que cautivarás a cualquier inversor siendo 100% tú mismo, usando tu naturaleza analítica como superpoder."
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"target_audience": "profesionales del fitness adictos al trabajo",
|
92 |
+
"product_service": "sistema de entrenamiento remoto",
|
93 |
+
"uvp": "Yo ofrezco a entrenadores fitness workahólicos un sistema revolucionario para generar ingresos mientras duermes. No más madrugar a las 5 AM ni sacrificar tu propio entrenamiento. Lo sorprendente es que ganarás más dinero entrenando menos personas, sin convertirte en un vendedor agresivo ni perder la conexión personal con tus clientes."
|
94 |
+
}
|
95 |
+
]
|
96 |
+
},
|
97 |
+
"Reto Ridículo": {
|
98 |
+
"description": """
|
99 |
+
The "Ridiculous Challenge" formula transforms complex problems into surprisingly simple solutions using humor and relatability.
|
100 |
+
Structure:
|
101 |
+
1. Opening Statement [HOOK]
|
102 |
+
- Start with "Tú sabes que..." or a bold statement
|
103 |
+
- Make it conversational and relatable
|
104 |
+
- Use humor or mild sarcasm when appropriate
|
105 |
+
|
106 |
+
2. The Secret [SOLUTION]
|
107 |
+
- Introduce with "Pero yo tengo un secreto..."
|
108 |
+
- Present an unexpected, counter-intuitive solution
|
109 |
+
- Keep it simple and clear
|
110 |
+
|
111 |
+
3. The Simple Truth [TRANSFORMATION]
|
112 |
+
- Begin with "Y en realidad, es mucho más fácil..."
|
113 |
+
- Show how simple the solution really is
|
114 |
+
- Add specific, tangible elements (numbers, time frames, concrete steps)
|
115 |
+
- End with a clear, achievable outcome
|
116 |
+
|
117 |
+
Key elements to include:
|
118 |
+
- Conversational tone throughout
|
119 |
+
- Specific numbers or timeframes
|
120 |
+
- Light humor or gentle sarcasm
|
121 |
+
- Contrast between perceived complexity and actual simplicity
|
122 |
+
- Relatable pain points
|
123 |
+
- Anti-guru approach when relevant
|
124 |
+
- Practical, down-to-earth solutions
|
125 |
+
""",
|
126 |
+
"examples": [
|
127 |
+
{
|
128 |
+
"target_audience": "expertos en finanzas personales",
|
129 |
+
"product_service": "método de educación financiera simplificada",
|
130 |
+
"uvp": "Tú sabes que como experto en finanzas personales, ayudar a tus clientes a tomar el control de su dinero puede sentirse como una batalla constante, ¿verdad? Pero yo tengo un secreto: no se trata de complejos consejos financieros, sino de simplificar su relación con el dinero con pasos prácticos y fáciles de seguir. Y en realidad, es mucho más fácil de lo que parece: lo único que necesitas es un enfoque claro y directo, y verás cómo tus clientes empiezan a ahorrar, invertir y prosperar sin estrés."
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"target_audience": "nutricionistas",
|
134 |
+
"product_service": "sistema de cambio de hábitos sostenibles",
|
135 |
+
"uvp": "Tú sabes que como nutricionista, que tus pacientes sigan tus recomendaciones puede ser un verdadero desafío, ¿verdad? Pero yo tengo un secreto: en lugar de enfocarte en dietas estrictas, puedes guiarlos hacia hábitos sostenibles con pequeños cambios diarios que no les resulten abrumadores. Y en realidad, es mucho más fácil de lo que parece: solo necesitas un enfoque personalizado que se adapte a su estilo de vida y verás cómo comienzan a transformar su salud con facilidad."
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"target_audience": "expertos en marketing",
|
139 |
+
"product_service": "método de storytelling auténtico",
|
140 |
+
"uvp": "Tú sabes que como experto en desarrollo personal, atraer clientes ideales no tiene que ser tan complicado como lanzar una campaña de publicidad millonaria, ¿verdad? Pero yo tengo un secreto: usar storytelling auténtico para conectar emocionalmente con tu audiencia es mucho más fácil de lo que piensas. Todo lo que tienes que hacer es hablar desde el corazón, y sí, los clientes que realmente te quieren encontrarán tu camino."
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"target_audience": "coaches de productividad",
|
144 |
+
"product_service": "sistema de gestión del tiempo realista",
|
145 |
+
"uvp": "Tú sabes que como coach de productividad, pasas horas predicando sobre la gestión del tiempo mientras tu propia agenda es un caos apocalíptico, ¿verdad? Pero tengo un secreto hilarante: dejar de fingir que somos robots multitarea y aceptar nuestra humanidad es sorprendentemente efectivo. Y en realidad, es ridículamente simple: con mi método anti-guru aprenderás a hacer más trabajando menos, sin tener que levantarte a las 4am ni beber batidos de kale mientras meditas en posición de loto."
|
146 |
+
}
|
147 |
+
]
|
148 |
+
}
|
149 |
}
|
styles.py
CHANGED
@@ -1,7 +1,22 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
def apply_styles():
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
st.markdown("""
|
6 |
<style>
|
7 |
.stTextArea > label {
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
def apply_styles():
|
4 |
+
return """
|
5 |
+
<style>
|
6 |
+
h1, h3 {
|
7 |
+
text-align: center;
|
8 |
+
}
|
9 |
+
|
10 |
+
.stButton > button {
|
11 |
+
background-color: #FFD700 !important;
|
12 |
+
color: black !important;
|
13 |
+
border: 1px solid black !important;
|
14 |
+
font-weight: bold !important;
|
15 |
+
width: 80% !important;
|
16 |
+
margin-left: 10% !important;
|
17 |
+
}
|
18 |
+
</style>
|
19 |
+
"""
|
20 |
st.markdown("""
|
21 |
<style>
|
22 |
.stTextArea > label {
|