JeCabrera commited on
Commit
6333949
·
verified ·
1 Parent(s): dd04264

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
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. Make this invitation compelling and connected to the emotional shift the reader should experience. Avoid sounding repetitive by using the lesson as the bridge to your call to action, for example:
71
- - "Lo que aprendí es que ser honesto en mis historias conecta más con la gente, y tú también puedes lograrlo si compartes tus experiencias reales. Si quieres saber cómo hacerlo, únete a mi clase en vivo hoy a las 05:00 pm."
72
- - "Tras superar mi fracaso, entendí que la vulnerabilidad es la clave para ganar confianza, y tú también puedes mejorar tus relaciones si dejas ver tu humanidad. Si deseas descubrir cómo, contáctame ahora y comencemos."
73
- Use the action to empower the reader, showing them that they can take a similar journey and achieve a positive outcome.
 
 
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 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