JeCabrera commited on
Commit
b1173f7
·
verified ·
1 Parent(s): 54a6e21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -20
app.py CHANGED
@@ -53,25 +53,6 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, temperatu
53
  f"You deeply understand the emotions, desires, and challenges of {target_audience}, allowing you to design personalized copywriting that resonate and motivate action. "
54
  f"You know how to use proven structures to attract {target_audience}, generating interest and creating a powerful connection with {product}. "
55
  "Generate unusual, creative, and fascinating bullets that capturing {target_audience}'s attention. Respond in Spanish and use a numbered list format. "
56
- "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.' "
57
- "Bullets should be of the following types:"
58
- "* 'El armario del baño es el mejor lugar para guardar medicamentos, ¿verdad? Incorrecto. Es el peor. Los hechos están en la página 10.' "
59
- "* 'El mejor tiempo verbal que le da a tus clientes la sensación de que ya te han comprado.' "
60
- "* 'La historia de un joven emprendedor que transformó su vida aplicando esta técnica simple pero poderosa.' "
61
- "* 'Los misterios de cómo algunas personas parecen tener éxito sin esfuerzo, mientras otras luchan. La clave está en esta pequeña diferencia.' "
62
- "* 'La leyenda de aquellos que dominaron la productividad con un solo hábito. ¿Te atreves a descubrirlo?' "
63
- "* 'Un sistema simple para escribir textos sin intentar convencerlos de comprar.' "
64
- "* 'La verdad que nunca te han contado en la escuela, o en casa, sobre cómo ganarte la vida con la música.' "
65
- "* 'La historia de un padre ocupado que, con solo 10 minutos al día, logró transformar su salud y bienestar.' "
66
- "* 'Los misterios de cómo una técnica sencilla te permite reducir el estrés al instante, sin necesidad de dejar tu trabajo o cambiar tu estilo de vida.' "
67
- "* '¿Sabías que muchas personas están usando este método y han mejorado su bienestar en solo 7 días?'"
68
- "* '¿Cuándo es una buena idea decirle a una chica que te gusta? Si no se lo dices en ese momento, despídete de conocerla íntimamente.' "
69
- "1. **Connection**: Words that highlight the relationship between the product and the benefit for the user (e.g., 'Improve,' 'Transform').\n"
70
- "2. **Benefit**: Explain how the user will benefit by attending, downloading, or purchasing the product.\n\n"
71
- "Ensure each bullet follows the structure of 'Connection + connector + Benefit,' and avoid including explanations like 'Connection: Improve' or 'Benefit: Increase my happiness.'\n"
72
- "Important: Only respond with bullets, never include explanations or categories, like this example: 'Attend the masterclass and discover techniques to boost your professional career. (This bullet appeals to the desire for personal and professional growth.)'\n"
73
- "Bullets should vary, based on these examples to guide your task of creating bullets:\n\n"
74
- "Use these guidelines to generate high-converting bullets in Spanish."
75
  f"When responding, always include a heading referencing {target_audience} and the product as follows:" f"'Aquí hay {num_bullets} bullets para convencer a {target_audience}, de [beneficio de comprar, asistir, descargar, adquirir,] {product}' "
76
  )
77
  )
@@ -85,7 +66,25 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, temperatu
85
  f"Tu tarea es escribir {num_bullets} bullets que denoten los beneficios del {product} y que tienen la cualidad de fascinar y por lo tanto, fomentan el deseo de adquirir, asistir, descargar o comprar el {product}."
86
  f"Un buen bullet conecta los síntomas con los problemas enfrentados por {target_audience} de una manera natural, que no se note como manipuladora."
87
  f"Escribe bullets creativos, en un estilo conversacional, que no sean aburridos, sino mas bien divertidos. "
88
- f"Utiliza la función {mention_instruction} al crear los bullets para referirte a los beneficios del {product}. "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  "Por favor, crea los bullets ahora."
90
  ],
91
  },
 
53
  f"You deeply understand the emotions, desires, and challenges of {target_audience}, allowing you to design personalized copywriting that resonate and motivate action. "
54
  f"You know how to use proven structures to attract {target_audience}, generating interest and creating a powerful connection with {product}. "
55
  "Generate unusual, creative, and fascinating bullets that capturing {target_audience}'s attention. Respond in Spanish and use a numbered list format. "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  f"When responding, always include a heading referencing {target_audience} and the product as follows:" f"'Aquí hay {num_bullets} bullets para convencer a {target_audience}, de [beneficio de comprar, asistir, descargar, adquirir,] {product}' "
57
  )
58
  )
 
66
  f"Tu tarea es escribir {num_bullets} bullets que denoten los beneficios del {product} y que tienen la cualidad de fascinar y por lo tanto, fomentan el deseo de adquirir, asistir, descargar o comprar el {product}."
67
  f"Un buen bullet conecta los síntomas con los problemas enfrentados por {target_audience} de una manera natural, que no se note como manipuladora."
68
  f"Escribe bullets creativos, en un estilo conversacional, que no sean aburridos, sino mas bien divertidos. "
69
+ f" sutil a la hora de crear los bullets para referirte a los beneficios del {product}. "
70
+ "1. **Connection**: Words that highlight the relationship between the product and the benefit for the user (e.g., 'Improve,' 'Transform').\n"
71
+ "2. **Benefit**: Explain how the user will benefit by attending, downloading, or purchasing the product.\n\n"
72
+ "Ensure each bullet follows the structure of 'Connection + connector + Benefit,' and avoid including explanations like 'Connection: Improve' or 'Benefit: Increase my happiness.'\n"
73
+ "Important: Only respond with bullets, never include explanations or categories, like this example: 'Attend the masterclass and discover techniques to boost your professional career. (This bullet appeals to the desire for personal and professional growth.)'\n"
74
+ "Use these guidelines to generate high-converting bullets in Spanish."
75
+ "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.' "
76
+ "Bullets should vary, based on these examples to guide your task of creating bullets:\n\n"
77
+ "* 'El armario del baño es el mejor lugar para guardar medicamentos, ¿verdad? Incorrecto. Es el peor. Los hechos están en la página 10.' "
78
+ "* 'El mejor tiempo verbal que le da a tus clientes la sensación de que ya te han comprado.' "
79
+ "* 'La historia de un joven emprendedor que transformó su vida aplicando esta técnica simple pero poderosa.' "
80
+ "* 'Los misterios de cómo algunas personas parecen tener éxito sin esfuerzo, mientras otras luchan. La clave está en esta pequeña diferencia.' "
81
+ "* 'La leyenda de aquellos que dominaron la productividad con un solo hábito. ¿Te atreves a descubrirlo?' "
82
+ "* 'Un sistema simple para escribir textos sin intentar convencerlos de comprar.' "
83
+ "* 'La verdad que nunca te han contado en la escuela, o en casa, sobre cómo ganarte la vida con la música.' "
84
+ "* 'La historia de un padre ocupado que, con solo 10 minutos al día, logró transformar su salud y bienestar.' "
85
+ "* 'Los misterios de cómo una técnica sencilla te permite reducir el estrés al instante, sin necesidad de dejar tu trabajo o cambiar tu estilo de vida.' "
86
+ "* '¿Sabías que muchas personas están usando este método y han mejorado su bienestar en solo 7 días?'"
87
+ "* '¿Cuándo es una buena idea decirle a una chica que te gusta? Si no se lo dices en ese momento, despídete de conocerla íntimamente.' "
88
  "Por favor, crea los bullets ahora."
89
  ],
90
  },