Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,105 +125,62 @@ def generate_ctas(number_of_ctas, target_audience, product, call_to_action, temp
|
|
| 125 |
# Configurar la interfaz de usuario con Streamlit
|
| 126 |
st.set_page_config(page_title="QuickPrompt", layout="wide")
|
| 127 |
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
# Título del Sidebar
|
| 131 |
-
st.sidebar.title("Quick Prompt User Manual")
|
| 132 |
-
|
| 133 |
-
# Introducción del manual
|
| 134 |
-
st.sidebar.subheader("Welcome to Quick Prompt")
|
| 135 |
-
st.sidebar.write("""
|
| 136 |
-
In a world where competition for attention is fierce, getting your audience not only to listen but to act is a daily challenge.
|
| 137 |
-
Even with an excellent product, service, or resource, it can be frustrating to watch your audience's interest fade without turning into concrete actions.
|
| 138 |
-
This is where calls-to-action (CTAs) come into play.
|
| 139 |
-
CTAs are much more than just buttons or persuasive phrases: they are the bridge that connects your audience with what you offer.
|
| 140 |
-
""")
|
| 141 |
-
|
| 142 |
-
# Cómo Utilizar Quick Prompt
|
| 143 |
-
st.sidebar.subheader("How to Use Quick Prompt")
|
| 144 |
-
st.sidebar.write("""
|
| 145 |
-
Quick Prompt is an intuitive, easy-to-use tool that helps you create attractive and effective CTAs.
|
| 146 |
-
Here is how you can feed the necessary variables to generate CTAs that inspire your audience to act:
|
| 147 |
-
""")
|
| 148 |
-
|
| 149 |
-
# Sección 1: Definir tu Público Objetivo
|
| 150 |
-
st.sidebar.subheader("1. Define Your Target Audience")
|
| 151 |
-
st.sidebar.write("""
|
| 152 |
-
Understand and connect with your audience by answering these key questions:
|
| 153 |
-
- Who is your audience?
|
| 154 |
-
- What are their interests and needs?
|
| 155 |
-
- What problems can they solve with your product?
|
| 156 |
-
Examples:
|
| 157 |
-
- University students looking for tools to improve their productivity.
|
| 158 |
-
- Entrepreneurs wanting to learn marketing skills to grow their businesses.
|
| 159 |
-
- Professionals looking to improve time management and achieve their career goals.
|
| 160 |
-
""")
|
| 161 |
-
|
| 162 |
-
# Sección 2: Especificar el Producto
|
| 163 |
-
st.sidebar.subheader("2. Specify the Product")
|
| 164 |
-
st.sidebar.write("""
|
| 165 |
-
Here, define the service or resource you're promoting. The CTA should be clear and directly related to the product.
|
| 166 |
-
Examples:
|
| 167 |
-
- "Free guide on efficient study techniques."
|
| 168 |
-
- "Online digital marketing course for entrepreneurs."
|
| 169 |
-
- "Exclusive webinar on time management for team leaders."
|
| 170 |
-
""")
|
| 171 |
-
|
| 172 |
-
# Sección 3: Determinar la Acción Deseada
|
| 173 |
-
st.sidebar.subheader("3. Determine the Desired Action")
|
| 174 |
st.sidebar.write("""
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
""")
|
| 181 |
|
| 182 |
-
# Sección 4: Seleccionar el Número de CTAs
|
| 183 |
-
st.sidebar.subheader("4. Select the Number of CTAs")
|
| 184 |
-
st.sidebar.write("""
|
| 185 |
-
Decide how many CTAs you want to create in one session. This may depend on the number of offers or products you are promoting.
|
| 186 |
-
Examples:
|
| 187 |
-
- Generate 1 direct CTA for a single product.
|
| 188 |
-
- Create 3 varied CTAs for a landing page with multiple resources.
|
| 189 |
-
- Design 5 personalized CTAs for different audience types.
|
| 190 |
-
""")
|
| 191 |
-
|
| 192 |
-
# Sección 5: Ajustar la Creatividad
|
| 193 |
-
st.sidebar.subheader("5. Adjust the Creativity")
|
| 194 |
-
st.sidebar.write("""
|
| 195 |
-
Quick Prompt includes a slider that allows you to adjust the creativity of your CTAs. Here are creativity ranges according to values from 0 to 1, with three examples in each range:
|
| 196 |
-
""")
|
| 197 |
-
|
| 198 |
-
# Rango de Creatividad Baja
|
| 199 |
-
st.sidebar.write("**Low Creativity (0.0 - 0.3)**")
|
| 200 |
-
st.sidebar.write("""
|
| 201 |
-
This range is direct and simple. The CTAs are clear, concise, and traditional.
|
| 202 |
-
Examples:
|
| 203 |
-
- "Download the free productivity guide."
|
| 204 |
-
- "Sign up for the course today."
|
| 205 |
-
- "Register for the webinar now."
|
| 206 |
-
""")
|
| 207 |
-
|
| 208 |
-
# Rango de Creatividad Media
|
| 209 |
-
st.sidebar.write("**Medium Creativity (0.4 - 0.7)**")
|
| 210 |
-
st.sidebar.write("""
|
| 211 |
-
In this range, CTAs become more persuasive, with a friendly tone that engages the reader, but without being too innovative.
|
| 212 |
-
Examples:
|
| 213 |
-
- "Improve your day with our free guide. Download it now!"
|
| 214 |
-
- "Join our course and start growing today."
|
| 215 |
-
- "Register for the webinar and discover new opportunities."
|
| 216 |
-
""")
|
| 217 |
-
|
| 218 |
-
# Rango de Creatividad Alta
|
| 219 |
-
st.sidebar.write("**High Creativity (0.8 - 1.0)**")
|
| 220 |
-
st.sidebar.write("""
|
| 221 |
-
In this range, the CTAs are more creative and dynamic, generating excitement or urgency. The language is more appealing and visual.
|
| 222 |
-
Examples:
|
| 223 |
-
- "Conquer your productivity with our essential guide! Download it now."
|
| 224 |
-
- "Take a leap in your career. Join the course and transform your future today."
|
| 225 |
-
- "Don't miss this unique opportunity. Register and secure your spot in the webinar."
|
| 226 |
-
""")
|
| 227 |
|
| 228 |
# Footer del manual
|
| 229 |
st.sidebar.write("With Quick Prompt, transforming interest into action has never been easier.")
|
|
|
|
| 125 |
# Configurar la interfaz de usuario con Streamlit
|
| 126 |
st.set_page_config(page_title="QuickPrompt", layout="wide")
|
| 127 |
|
| 128 |
+
# Agregar el manual en el sidebar con mejor diseño
|
| 129 |
+
st.sidebar.markdown("## **Manual de Usuario para Quick Prompt**")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
st.sidebar.write("""
|
| 131 |
+
**Bienvenido a Quick Prompt**
|
| 132 |
+
Quick Prompt está diseñado para ayudarte a crear llamados a la acción (CTAs) que motiven a tu audiencia a actuar de inmediato.
|
| 133 |
+
|
| 134 |
+
### ¿Por qué los CTAs son importantes?
|
| 135 |
+
Los CTAs son el puente que conecta a tu audiencia con tu producto o servicio. Aquí te mostramos algunos ejemplos de acciones comunes:
|
| 136 |
+
- Descargar un PDF con recursos útiles
|
| 137 |
+
- Inscribirse en un evento o webinar
|
| 138 |
+
- Participar en una oferta exclusiva
|
| 139 |
+
|
| 140 |
+
### ¿Cómo utilizar Quick Prompt?
|
| 141 |
+
Sigue estos pasos para sacar el máximo provecho de la herramienta:
|
| 142 |
+
|
| 143 |
+
1. **Define tu público objetivo**
|
| 144 |
+
Piensa en quiénes son y qué necesitan. Por ejemplo:
|
| 145 |
+
- Estudiantes universitarios en busca de mejorar su productividad
|
| 146 |
+
- Emprendedores que necesitan aprender marketing digital
|
| 147 |
+
- Profesionales buscando mejorar su gestión del tiempo
|
| 148 |
+
|
| 149 |
+
2. **Especifica tu producto o servicio**
|
| 150 |
+
Asegúrate de que el producto esté claro y relacionado con el CTA. Ejemplos:
|
| 151 |
+
- Guía gratuita sobre técnicas de estudio
|
| 152 |
+
- Curso online de marketing para emprendedores
|
| 153 |
+
- Webinar sobre gestión del tiempo
|
| 154 |
+
|
| 155 |
+
3. **Determina la acción deseada**
|
| 156 |
+
Define cuál es la acción específica que deseas que realice tu audiencia:
|
| 157 |
+
- Descargar un PDF
|
| 158 |
+
- Inscribirse a un curso online
|
| 159 |
+
- Registrarse para un webinar
|
| 160 |
+
|
| 161 |
+
4. **Ajusta la creatividad de tu CTA**
|
| 162 |
+
Quick Prompt te permite ajustar el nivel de creatividad de tus CTAs. Algunos ejemplos:
|
| 163 |
+
|
| 164 |
+
**Creatividad Baja (0.0 - 0.3)**
|
| 165 |
+
- "Descarga la guía gratuita sobre productividad."
|
| 166 |
+
- "Inscríbete al curso hoy."
|
| 167 |
+
- "Regístrate para el webinar ahora."
|
| 168 |
+
|
| 169 |
+
**Creatividad Media (0.4 - 0.7)**
|
| 170 |
+
- "Mejora tu día con nuestra guía gratuita. ¡Descárgala ahora!"
|
| 171 |
+
- "Únete a nuestro curso y empieza a crecer hoy mismo."
|
| 172 |
+
- "Regístrate para el webinar y descubre nuevas oportunidades."
|
| 173 |
+
|
| 174 |
+
**Creatividad Alta (0.8 - 1.0)**
|
| 175 |
+
- "¡Conquista tu productividad con nuestra guía esencial! Descárgala ahora."
|
| 176 |
+
- "Dale un giro a tu carrera. Únete al curso y transforma tu futuro hoy."
|
| 177 |
+
- "No te pierdas esta oportunidad única. Regístrate y asegura tu lugar en el webinar."
|
| 178 |
+
|
| 179 |
+
### Consejos adicionales:
|
| 180 |
+
- Si buscas algo más conservador, usa un valor de creatividad bajo.
|
| 181 |
+
- Si necesitas ideas frescas y atrevidas, opta por un valor más alto.
|
| 182 |
""")
|
| 183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
|
| 185 |
# Footer del manual
|
| 186 |
st.sidebar.write("With Quick Prompt, transforming interest into action has never been easier.")
|