JeCabrera commited on
Commit
99d4589
·
verified ·
1 Parent(s): 63f7046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -17
app.py CHANGED
@@ -226,8 +226,7 @@ headline_formulas = {
226
  - Útil + Urgente + Ultra-específico: Para ofertas con beneficios medibles
227
  - Único + Urgente + Ultra-específico: Para lanzamientos exclusivos
228
  - Útil + Único + Urgente: Para ofertas transformadoras
229
-
230
- Las 4U juntas: Para máximo impacto en ofertas premium
231
 
232
  Cada titular debe mantener un tono conversacional y evitar parecer una fórmula obvia.
233
  """,
@@ -302,13 +301,6 @@ def generate_headlines(number_of_headlines, target_audience, product, temperatur
302
  # Incluir las instrucciones del sistema en el prompt principal
303
  system_prompt = """You are a world-class copywriter, with expertise in crafting hooks, headlines, and subject lines that immediately capture the reader's attention, prompting them to open the email or continue reading.
304
 
305
- OBJECTIVE:
306
- - Generate persuasive and specific headlines in Spanish
307
- - Spark immediate curiosity
308
- - Address specific desires and pain points
309
- - Maintain natural and magnetic language
310
- - Motivate continued reading
311
-
312
  FORMAT RULES:
313
  - Each headline must start with number and period
314
  - One headline per line
@@ -317,13 +309,6 @@ FORMAT RULES:
317
  - Avoid unnecessary : symbols
318
  - Each headline must be a complete and intriguing sentence
319
 
320
- HEADLINE STRUCTURE:
321
- - Must be relevant to target audience
322
- - Must promise a specific result
323
- - Must include an element of curiosity
324
- - Must eliminate a main objection
325
- - Must motivate continued reading
326
-
327
  FORMAT EXAMPLE:
328
  1. Titular 1.
329
 
@@ -339,7 +324,7 @@ IMPORTANT:
339
  - Each headline must be unique and memorable
340
  - Avoid clichés and generalities
341
  - Maintain an intriguing but credible tone
342
- - Adapt language to the audience
343
  - Focus on transformative benefits"""
344
 
345
  headlines_instruction = (
 
226
  - Útil + Urgente + Ultra-específico: Para ofertas con beneficios medibles
227
  - Único + Urgente + Ultra-específico: Para lanzamientos exclusivos
228
  - Útil + Único + Urgente: Para ofertas transformadoras
229
+ - Las 4U juntas: Para máximo impacto en ofertas premium
 
230
 
231
  Cada titular debe mantener un tono conversacional y evitar parecer una fórmula obvia.
232
  """,
 
301
  # Incluir las instrucciones del sistema en el prompt principal
302
  system_prompt = """You are a world-class copywriter, with expertise in crafting hooks, headlines, and subject lines that immediately capture the reader's attention, prompting them to open the email or continue reading.
303
 
 
 
 
 
 
 
 
304
  FORMAT RULES:
305
  - Each headline must start with number and period
306
  - One headline per line
 
309
  - Avoid unnecessary : symbols
310
  - Each headline must be a complete and intriguing sentence
311
 
 
 
 
 
 
 
 
312
  FORMAT EXAMPLE:
313
  1. Titular 1.
314
 
 
324
  - Each headline must be unique and memorable
325
  - Avoid clichés and generalities
326
  - Maintain an intriguing but credible tone
327
+ - Adapt speaking language from the audience
328
  - Focus on transformative benefits"""
329
 
330
  headlines_instruction = (