JeCabrera commited on
Commit
45c49a4
·
verified ·
1 Parent(s): cb3563f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -65,8 +65,8 @@ def get_gemini_response(product_service, target_audience, formula_type, temperat
65
  st.set_page_config(page_title="UVP Generator", page_icon="💡", layout="wide")
66
 
67
  # Título de la app
68
- st.markdown("<h1>UVP Generator</h1>", unsafe_allow_html=True)
69
- st.markdown("<h3>Create powerful Unique Value Propositions that attract your ideal clients and communicate your unique value.</h3>", unsafe_allow_html=True)
70
 
71
  # Sidebar manual
72
  with open("manual.md", "r", encoding="utf-8") as file:
@@ -79,29 +79,29 @@ col1, col2 = st.columns([1, 1])
79
  # Columna izquierda para inputs
80
  with col1:
81
  product_service = st.text_area(
82
- "What's your product or service?",
83
- placeholder="Example: AI-powered copywriting course, Coaching program..."
84
  )
85
 
86
  target_audience = st.text_area(
87
- "Who's your target audience?",
88
- placeholder="Example: Coaches who want to attract more clients..."
89
  )
90
- with st.expander("Advanced options"):
91
  formula_type = st.selectbox(
92
- "UVP Formula:",
93
  options=list(puv_formulas.keys())
94
  )
95
  temperature = st.slider(
96
- "Creativity level:",
97
  min_value=0.0,
98
  max_value=2.0,
99
  value=1.0,
100
  step=0.1,
101
- help="Higher values generate more creative but less predictable propositions."
102
  )
103
 
104
- generate_button = st.button("Generate UVP")
105
 
106
  with col2:
107
  if generate_button:
 
65
  st.set_page_config(page_title="UVP Generator", page_icon="💡", layout="wide")
66
 
67
  # Título de la app
68
+ st.markdown("<h1>Generador de PUV</h1>", unsafe_allow_html=True)
69
+ 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)
70
 
71
  # Sidebar manual
72
  with open("manual.md", "r", encoding="utf-8") as file:
 
79
  # Columna izquierda para inputs
80
  with col1:
81
  product_service = st.text_area(
82
+ "¿Cuál es tu producto o servicio?",
83
+ placeholder="Ejemplo: Curso de copywriting con IA, Programa de coaching..."
84
  )
85
 
86
  target_audience = st.text_area(
87
+ "¿Cuál es tu público objetivo?",
88
+ placeholder="Ejemplo: Coaches que quieren atraer más clientes..."
89
  )
90
+ with st.expander("Opciones avanzadas"):
91
  formula_type = st.selectbox(
92
+ "Fórmula PUV:",
93
  options=list(puv_formulas.keys())
94
  )
95
  temperature = st.slider(
96
+ "Nivel de creatividad:",
97
  min_value=0.0,
98
  max_value=2.0,
99
  value=1.0,
100
  step=0.1,
101
+ help="Valores más altos generan propuestas más creativas pero menos predecibles."
102
  )
103
 
104
+ generate_button = st.button("Generar PUV")
105
 
106
  with col2:
107
  if generate_button: