JeCabrera commited on
Commit
edf5fad
·
verified ·
1 Parent(s): afdeed9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -45,6 +45,7 @@ def get_random_copywriting_technique():
45
  # Al crear el prompt completo, incluye el tamaño y las técnicas seleccionadas
46
  def get_gemini_response(target_audience, product, text_type, length, mood, emotionality):
47
  product_mention = get_random_product_mention()
 
48
  model_choice = "gemini-1.5-flash" # Modelo predeterminado
49
 
50
  model = genai.GenerativeModel(model_choice)
 
45
  # Al crear el prompt completo, incluye el tamaño y las técnicas seleccionadas
46
  def get_gemini_response(target_audience, product, text_type, length, mood, emotionality):
47
  product_mention = get_random_product_mention()
48
+ mention_instruction = get_mention_instruction(product_mention, product) # Agrega esta línea
49
  model_choice = "gemini-1.5-flash" # Modelo predeterminado
50
 
51
  model = genai.GenerativeModel(model_choice)