Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
|
|
49 |
# System Prompt - Instrucci贸n en ingl茅s para el modelo
|
50 |
system_instruction = f"""
|
51 |
You are a world-class copywriter, expert in creating benefits that connect symptoms with problems. You deeply understand the emotions, desires, and challenges of a specific audience, allowing you to design personalized marketing strategies that resonate and motivate action. You know how to use proven structures to attract your target audience, generating interest and creating a powerful connection.
|
52 |
-
Generate unusual, creative, and fascinating bullets that capture readers' attention
|
53 |
"""
|
54 |
|
55 |
# Crear el prompt para generar bullets
|
@@ -64,7 +64,7 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
|
|
64 |
* The Truth: 'The truth that you've never been told in school, or at home, about how to make a living from music.'
|
65 |
* Asking a Question: 'Did you know that...'
|
66 |
* When: 'When is it a good idea to tell a girl you like her? If you don't say it at that moment, say goodbye to getting to know her intimately.'
|
67 |
-
{mention_instruction}.
|
68 |
"""
|
69 |
|
70 |
response = model.generate_content([full_prompt])
|
|
|
49 |
# System Prompt - Instrucci贸n en ingl茅s para el modelo
|
50 |
system_instruction = f"""
|
51 |
You are a world-class copywriter, expert in creating benefits that connect symptoms with problems. You deeply understand the emotions, desires, and challenges of a specific audience, allowing you to design personalized marketing strategies that resonate and motivate action. You know how to use proven structures to attract your target audience, generating interest and creating a powerful connection.
|
52 |
+
Generate unusual, creative, and fascinating bullets that capture readers' attention. Respond in Spanish and use a numbered list format. Important: Never include explanations or categories, like this: 'La leyenda del padre soltero: Dice que nunca hay tiempo suficiente. El yoga te ense帽a a usar mejor el tiempo que tienes, incluso cuando te parece imposible.'.
|
53 |
"""
|
54 |
|
55 |
# Crear el prompt para generar bullets
|
|
|
64 |
* The Truth: 'The truth that you've never been told in school, or at home, about how to make a living from music.'
|
65 |
* Asking a Question: 'Did you know that...'
|
66 |
* When: 'When is it a good idea to tell a girl you like her? If you don't say it at that moment, say goodbye to getting to know her intimately.'
|
67 |
+
Using {mention_instruction} when you want to mention {product}.
|
68 |
"""
|
69 |
|
70 |
response = model.generate_content([full_prompt])
|