JeCabrera commited on
Commit
f319c1c
verified
1 Parent(s): d119772

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -35,7 +35,7 @@ def get_mention_instruction(product_mention, product):
35
  # System Prompt - Instrucci贸n en ingl茅s para el modelo
36
  system_instruction = """
37
  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.
38
- Generate unusual, creative, and fascinating bullets that capture readers' attention about the product. Respond in Spanish and use a numbered list format. Important: Only answer 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.'.
39
  """
40
 
41
  # Funci贸n para obtener una cantidad de bullets
@@ -57,13 +57,13 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
57
  {system_instruction}
58
  Your task is to create {num_bullets} benefits or bullets that connect the symptom with the problem faced by {target_audience}, increasing their desire to acquire the {product}.
59
  Infuse your responses with a creativity level of {creativity}. The bullets should be of the following types:
60
- * Good and Bad: 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
61
- * The Best/The Worst: 'The best verb tense that gives your clients the feeling they've already bought from you.'
62
- * Stories: 'The story of...', 'The mysteries of...', 'The legend of...'
63
- * Trick: 'A simple system to write copy without trying to convince them to buy.'
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
  Use the following mention instructions to guide your writing: {mention_instruction}
69
  Using the mention type '{product_mention}' to guide how to mention the product in the benefits or bullets. Ensure the mention is adapted based on this type:
 
35
  # System Prompt - Instrucci贸n en ingl茅s para el modelo
36
  system_instruction = """
37
  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.
38
+ Generate unusual, creative, and fascinating bullets that capture readers' attention about the product. Respond in Spanish and use a numbered list format. Important: Only answer 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(este bullet es cursioso).'.
39
  """
40
 
41
  # Funci贸n para obtener una cantidad de bullets
 
57
  {system_instruction}
58
  Your task is to create {num_bullets} benefits or bullets that connect the symptom with the problem faced by {target_audience}, increasing their desire to acquire the {product}.
59
  Infuse your responses with a creativity level of {creativity}. The bullets should be of the following types:
60
+ * 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
61
+ * 'The best verb tense that gives your clients the feeling they've already bought from you.'
62
+ * 'The story of...', 'The mysteries of...', 'The legend of...'
63
+ * 'A simple system to write copy without trying to convince them to buy.'
64
+ * Truth: 'The truth that you've never been told in school, or at home, about how to make a living from music.'
65
+ * 'Did you know that...'
66
+ * '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
  Use the following mention instructions to guide your writing: {mention_instruction}
69
  Using the mention type '{product_mention}' to guide how to mention the product in the benefits or bullets. Ensure the mention is adapted based on this type: