Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def get_gemini_response(input_prompt, formula_type, length, mood, target_audienc
|
|
51 |
- DO NOT explain or mention the formula parts in the text
|
52 |
- Separate each story with "---"
|
53 |
|
54 |
-
Format: Three clean story texts with natural paragraphs, separated by "---", no labels, no explanations.
|
55 |
"""
|
56 |
response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
|
57 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|
@@ -77,7 +77,7 @@ with col1:
|
|
77 |
# Entrada de texto principal
|
78 |
input_prompt = st.text_area("Escribe de qué quieres que trate la historia:", placeholder="Escribe aquí tu idea...")
|
79 |
target_audience = st.text_input("Público Objetivo:", placeholder="Ejemplo: Profesionales de 25-35 años...")
|
80 |
-
cta_type = st.text_input("Llamado a la acción:", placeholder="Ejemplo: Curso de marketing digital...")
|
81 |
|
82 |
with st.expander("Opciones avanzadas"):
|
83 |
formula_type = st.selectbox(
|
|
|
51 |
- DO NOT explain or mention the formula parts in the text
|
52 |
- Separate each story with "---"
|
53 |
|
54 |
+
Format: Three clean story texts with natural paragraphs, separated by "---", no labels, no explanations. Each history should have its own creative title.
|
55 |
"""
|
56 |
response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
|
57 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|
|
|
77 |
# Entrada de texto principal
|
78 |
input_prompt = st.text_area("Escribe de qué quieres que trate la historia:", placeholder="Escribe aquí tu idea...")
|
79 |
target_audience = st.text_input("Público Objetivo:", placeholder="Ejemplo: Profesionales de 25-35 años...")
|
80 |
+
cta_type = st.text_input("Llamado a la acción:", placeholder="Ejemplo: Incribete a nuestro Curso de marketing digital...")
|
81 |
|
82 |
with st.expander("Opciones avanzadas"):
|
83 |
formula_type = st.selectbox(
|