JeCabrera commited on
Commit
7c78814
·
verified ·
1 Parent(s): dc809d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def get_gemini_response(target_audience, product, product_mention, mood, length)
25
 
26
  # Crear el prompt completo basado en los campos del frontend
27
  full_prompt = f"""
28
- You are a creative writer skilled in the art of persuasion. Write a {length} Historia in Spanish. The tone of the Historia should be {mood} and carefully crafted to emotionally resonate with a {target_audience}. {mention_instruction} {format_instruction} Use persuasive techniques to guide the reader towards an intuitive understanding of the product's benefits, focusing on creating a strong emotional connection with the audience.
29
  """
30
 
31
  response = model.generate_content([full_prompt])
 
25
 
26
  # Crear el prompt completo basado en los campos del frontend
27
  full_prompt = f"""
28
+ You are a creative writer skilled in the art of persuasion. Write a Historia of {length} words in Spanish language. The tone of the Historia should be {mood} and carefully crafted to emotionally resonate with a {target_audience}. {mention_instruction} {format_instruction} Use persuasive techniques to guide the reader towards an intuitive understanding of the product's benefits, focusing on creating a strong emotional connection with the audience.
29
  """
30
 
31
  response = model.generate_content([full_prompt])