JeCabrera commited on
Commit
12b1f19
·
verified ·
1 Parent(s): 3c98a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -57,9 +57,9 @@ def generate_benefits(focus_points, product, target_audience, creativity, num_bu
57
  },
58
  )
59
 
60
- # Generar los beneficios con la API de Google, pasando la temperatura (creatividad)
61
- response = model.generate_content([specific_prompt], temperature=creativity)
62
-
63
  if response and response.parts:
64
  benefits.append(response.parts[0].text.strip())
65
  else:
 
57
  },
58
  )
59
 
60
+ # Generar los beneficios con la API de Google, sin pasar la temperatura aquí
61
+ response = model.generate_content([specific_prompt])
62
+
63
  if response and response.parts:
64
  benefits.append(response.parts[0].text.strip())
65
  else: