Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def get_gha_response(target_audience, product, action, mood, length, story_topic
|
|
57 |
Do not explicitly label or explain each section (Gancho, Historia, Acci贸n). Instead, weave these elements naturally into a cohesive, flowing narrative that emotionally connects with the {target_audience}.
|
58 |
The story should have {length} words, with a {mood} tone. Here are the details:
|
59 |
1. Gancho: Start with an attention-grabbing hook that immediately captures the {target_audience}'s interest. It can be a question, a surprising fact, or a statement that challenges their beliefs.
|
60 |
-
2. Historia: Tell an engaging and emotional story about {story_topic}. This can be personal or fictional, but should always have a meaningful lesson or takeaway for the
|
61 |
-
3. Acci贸n: Conclude with a
|
62 |
Write a cohesive, engaging, and emotionally resonant narrative tailored to connect with the {target_audience}.
|
63 |
"""
|
64 |
response = model.generate_content([full_prompt])
|
|
|
57 |
Do not explicitly label or explain each section (Gancho, Historia, Acci贸n). Instead, weave these elements naturally into a cohesive, flowing narrative that emotionally connects with the {target_audience}.
|
58 |
The story should have {length} words, with a {mood} tone. Here are the details:
|
59 |
1. Gancho: Start with an attention-grabbing hook that immediately captures the {target_audience}'s interest. It can be a question, a surprising fact, or a statement that challenges their beliefs.
|
60 |
+
2. Historia: Tell an engaging and emotional story about {story_topic}. This can be personal or fictional, but should always have a meaningful lesson or takeaway for the {target_audience}.
|
61 |
+
3. Acci贸n: Conclude with a compelling call to action '{action}' inviting the reader to take immediate steps to improve their situation. Make the call-to-action compelling and clear, prompting immediate action.
|
62 |
Write a cohesive, engaging, and emotionally resonant narrative tailored to connect with the {target_audience}.
|
63 |
"""
|
64 |
response = model.generate_content([full_prompt])
|