Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ with col1:
|
|
63 |
options=list(story_formulas.keys()),
|
64 |
format_func=lambda x: x
|
65 |
)
|
66 |
-
st.info(story_formulas[formula_type]
|
67 |
|
68 |
length = st.slider("Longitud del texto (palabras):",
|
69 |
min_value=100,
|
@@ -75,7 +75,7 @@ with col1:
|
|
75 |
with col2:
|
76 |
if generate_button:
|
77 |
response = get_gemini_response(
|
78 |
-
input_prompt,
|
79 |
mood, target_audience, cta_type
|
80 |
)
|
81 |
st.subheader("Contenido generado:")
|
|
|
63 |
options=list(story_formulas.keys()),
|
64 |
format_func=lambda x: x
|
65 |
)
|
66 |
+
st.info(story_formulas[formula_type])
|
67 |
|
68 |
length = st.slider("Longitud del texto (palabras):",
|
69 |
min_value=100,
|
|
|
75 |
with col2:
|
76 |
if generate_button:
|
77 |
response = get_gemini_response(
|
78 |
+
input_prompt, formula_type, length,
|
79 |
mood, target_audience, cta_type
|
80 |
)
|
81 |
st.subheader("Contenido generado:")
|