Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,13 +67,16 @@ def get_gha_response(target_audience, product, action, mood, length, story_topic
|
|
| 67 |
- What was the outcome or lesson learned that could apply to the {target_audience}'s life?
|
| 68 |
Make sure the story is engaging and retains the attention of the reader while providing a meaningful takeaway that resonates with their own struggles or aspirations.
|
| 69 |
|
| 70 |
-
3. **Acción**: Conclude with a natural call to action '{action}' that invites the reader to take the next step, based on the lesson or transformation in the story.
|
| 71 |
-
|
| 72 |
-
- "
|
| 73 |
-
|
|
|
|
|
|
|
| 74 |
|
| 75 |
Ensure that the entire narrative flows smoothly, making the call to action feel like a natural next step after the story, rather than a forced conclusion.
|
| 76 |
"""
|
|
|
|
| 77 |
response = model.generate_content([full_prompt])
|
| 78 |
if response and response.parts:
|
| 79 |
text = response.parts[0].text
|
|
|
|
| 67 |
- What was the outcome or lesson learned that could apply to the {target_audience}'s life?
|
| 68 |
Make sure the story is engaging and retains the attention of the reader while providing a meaningful takeaway that resonates with their own struggles or aspirations.
|
| 69 |
|
| 70 |
+
3. **Acción**: Conclude with a natural call to action '{action}' that invites the reader to take the next step, based on the lesson or transformation in the story. Tie the benefits of the {product} into the CTA, emphasizing how taking action will help them achieve similar results.
|
| 71 |
+
For example:
|
| 72 |
+
- "Lo que aprendí es que la vulnerabilidad te conecta con los demás, y tú también puedes lograrlo si compartes tus experiencias reales. Si deseas experimentar la calma y claridad mental que trae la práctica del yoga, únete a nuestro webinar y descubre cómo el yoga puede ayudarte a gestionar el estrés y mejorar tu bienestar."
|
| 73 |
+
- "Tras superar mi fracaso, entendí que la mente y el cuerpo están más conectados de lo que pensaba, y tú también puedes descubrir ese equilibrio. Si quieres sentirte más tranquilo, centrado y en control, participa en nuestro webinar de yoga y transforma tu vida."
|
| 74 |
+
- "Lo que descubrí es que la práctica constante te lleva a un cambio profundo, y tú también puedes lograrlo si decides hacer algo por ti mismo. Únete a nuestra sesión de yoga y aprende cómo liberarte de tensiones, aumentar tu flexibilidad y encontrar la paz interior."
|
| 75 |
+
Empower the reader by showing them how the benefits of the {product} can lead to a transformation. The call to action should be clear, inviting them to take immediate steps based on the benefits of the {product}.
|
| 76 |
|
| 77 |
Ensure that the entire narrative flows smoothly, making the call to action feel like a natural next step after the story, rather than a forced conclusion.
|
| 78 |
"""
|
| 79 |
+
|
| 80 |
response = model.generate_content([full_prompt])
|
| 81 |
if response and response.parts:
|
| 82 |
text = response.parts[0].text
|