Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,6 +50,9 @@ def generate_bullets(number_of_bullets, target_audience, product, call_to_action
|
|
| 50 |
try:
|
| 51 |
response = model.generate_content([system_instruction])
|
| 52 |
|
|
|
|
|
|
|
|
|
|
| 53 |
# Verificar que la respuesta tenga el formato esperado
|
| 54 |
if isinstance(response, tuple) and len(response) > 0:
|
| 55 |
generated_bullets = response[0].text.strip()
|
|
|
|
| 50 |
try:
|
| 51 |
response = model.generate_content([system_instruction])
|
| 52 |
|
| 53 |
+
# Depurar la respuesta
|
| 54 |
+
st.write("Respuesta del modelo:", response)
|
| 55 |
+
|
| 56 |
# Verificar que la respuesta tenga el formato esperado
|
| 57 |
if isinstance(response, tuple) and len(response) > 0:
|
| 58 |
generated_bullets = response[0].text.strip()
|