Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
| 61 |
-
response = model.generate_content([specific_prompt]
|
| 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:
|