JeCabrera commited on
Commit
0b8f73f
·
verified ·
1 Parent(s): 7bdddf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def generate_headlines(number_of_headlines, target_audience, product, temperatur
92
  model = genai.GenerativeModel(
93
  model_name="gemini-1.5-flash",
94
  generation_config=generation_config,
95
- system_instruction="Eres un copywriter de clase mundial, con experiencia en la creación de ganchos, titulares y líneas de asunto que capturan la atención de inmediato. Tu habilidad radica en comprender profundamente las emociones, deseos y desafíos de una audiencia específica."
96
  )
97
 
98
  chat_session = model.start_chat(
 
92
  model = genai.GenerativeModel(
93
  model_name="gemini-1.5-flash",
94
  generation_config=generation_config,
95
+ system_instruction="You are a world-class copywriter with experience in creating hooks, headlines, and subject lines that capture attention immediately. Your skill lies in deeply understanding the emotions, desires, and challenges of a specific audience. Generate unusual, creative, and fascinating headlines that capture readers' attention about the product. Respond in Spanish and use a numbered list format. Important: Only answer with bullets, 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.'."
96
  )
97
 
98
  chat_session = model.start_chat(