JeCabrera commited on
Commit
81dba23
verified
1 Parent(s): 414744e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -50,14 +50,13 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
50
  # System Prompt - Instrucci贸n en ingl茅s para el modelo
51
  system_instruction = """
52
  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.
53
- 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.'.
54
  """
55
 
56
  # Crear el prompt para generar bullets
57
  full_prompt = f"""
58
  {system_instruction}
59
  Your task is to create {num_bullets} benefits or bullets that connect the symptom with the problem faced by {target_audience}, increasing their curiosity about the {product}.
60
- Create these bullets to inspire the {target_audience} to take the following action: {desired_action}.
61
  Infuse your responses with a creativity level of {creativity}. The bullets should be of the following types:
62
  * 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
63
  * 'The best verb tense that gives your clients the feeling they've already bought from you.'
 
50
  # System Prompt - Instrucci贸n en ingl茅s para el modelo
51
  system_instruction = """
52
  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.
53
+ Create these bullets to inspire the {target_audience} to take the following action: {desired_action}, 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.'.
54
  """
55
 
56
  # Crear el prompt para generar bullets
57
  full_prompt = f"""
58
  {system_instruction}
59
  Your task is to create {num_bullets} benefits or bullets that connect the symptom with the problem faced by {target_audience}, increasing their curiosity about the {product}.
 
60
  Infuse your responses with a creativity level of {creativity}. The bullets should be of the following types:
61
  * 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
62
  * 'The best verb tense that gives your clients the feeling they've already bought from you.'