JeCabrera commited on
Commit
f077766
·
verified ·
1 Parent(s): 168508d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -50,21 +50,20 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
50
  system_instruction = """
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 subtly hint at the product without direct mention, capturing 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
- To write these bullets based on these examples:
54
- * 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
55
- * 'The best verb tense that gives your clients the feeling they've already bought from you.'
56
- * 'The story of...', 'The mysteries of...', 'The legend of...'
57
- * 'A simple system to write copy without trying to convince them to buy.'
58
- * 'The truth that you've never been told in school, or at home, about how to make a living from music.'
59
- * 'Did you know that...'
60
- * '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.'
61
- """
62
 
63
  # Crear el prompt para generar bullets
64
  full_prompt = f"""
65
  {system_instruction}
66
  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}.
67
- Infuse your responses with a creativity level of {creativity}.
 
 
 
 
 
 
 
68
  Using {mention_instruction} when you want to mention {product}.
69
  Use the following mention instructions to guide your writing: {mention_instruction}
70
  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:
 
50
  system_instruction = """
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 subtly hint at the product without direct mention, capturing 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
56
  full_prompt = f"""
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: