Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,26 +20,33 @@ def get_gemini_response(input_prompt, genre, length, language, mood, target_audi
|
|
20 |
Use approximately {length} words (but prioritize quality over exact word count).
|
21 |
|
22 |
**Structure:**
|
23 |
-
1. **Introduce a relatable problem**: Describe a scenario
|
24 |
-
2. **
|
25 |
-
3. **
|
26 |
-
4. **
|
27 |
-
5. **
|
28 |
|
|
|
|
|
29 |
### **Ejemplo de historia bien escrita:**
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
La ansiedad en los emprendedores puede ser causada por una variedad de factores, como la presión para tener éxito, la incertidumbre financiera o la carga de trabajo.
|
35 |
-
|
36 |
-
Ignorar la ansiedad puede tener consecuencias graves, como la pérdida de oportunidades de negocio debido a la indecisión, el aislamiento social y la falta de concentración. También puede llevar a problemas de salud mental más graves, como la depresión.
|
37 |
-
|
38 |
-
Ofrecemos un programa diseñado específicamente para emprendedoras que luchan con la ansiedad. Nuestro programa combina técnicas de manejo del estrés, terapia cognitivo-conductual y ejercicios prácticos para ayudarte a superar la ansiedad y lograr tus objetivos de negocios.
|
39 |
|
40 |
-
|
41 |
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
**Importante:**
|
44 |
- **No menciones directamente {product_type} en el texto**. En su lugar, intégralo de forma sutil y natural en la narrativa.
|
45 |
- **Haz que la historia sea humana y emocional**, evitando frases promocionales evidentes.
|
|
|
20 |
Use approximately {length} words (but prioritize quality over exact word count).
|
21 |
|
22 |
**Structure:**
|
23 |
+
1. **Introduce a relatable problem**: Describe a scenario that captures the attention of {target_audience}. Use emotions and common experiences in their lives.
|
24 |
+
2. **Develop the story**: Expand on the problem with details, showing the difficulties the protagonist faces. Use a natural and immersive narrative.
|
25 |
+
3. **Consequences of inaction**: What happens if the problem is not solved? Build urgency without sounding forced.
|
26 |
+
4. **Organic solution**: Introduce {product_type} as a logical option in the story, without making it sound like an advertisement. The story should naturally lead to the solution.
|
27 |
+
5. **Emotional or motivational ending**: End with a reflection or an implicit call to action.
|
28 |
|
29 |
+
The story should be about "{input_prompt}". Ensure the topic is naturally integrated into the narrative.
|
30 |
+
|
31 |
### **Ejemplo de historia bien escrita:**
|
32 |
+
En una lejana galaxia, el maestro Xylo dictaba clases en la Tierra.
|
33 |
+
|
34 |
+
Sus métodos eran monótonos, y sus alumnos bostezaban sin parar.
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
+
“¿Por qué no prestan atención?”, se preguntaba.
|
37 |
|
38 |
+
Frustrado, investigó y descubrió que el problema no eran los niños, sino sus clases aburridas.
|
39 |
+
|
40 |
+
Por eso decidió cambiar.
|
41 |
+
|
42 |
+
Tomó un curso online para hacer sus lecciones dinámicas y sorprendentes.
|
43 |
+
|
44 |
+
Pronto, sus alumnos rieron, participaron y aprendieron con entusiasmo.
|
45 |
+
|
46 |
+
Si Xylo pudo transformar sus clases, tú también.
|
47 |
+
|
48 |
+
Inscríbete hoy aquí.
|
49 |
+
|
50 |
**Importante:**
|
51 |
- **No menciones directamente {product_type} en el texto**. En su lugar, intégralo de forma sutil y natural en la narrativa.
|
52 |
- **Haz que la historia sea humana y emocional**, evitando frases promocionales evidentes.
|