JeCabrera commited on
Commit
4c97fbf
·
verified ·
1 Parent(s): bdf39ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -75,6 +75,11 @@ def get_gemini_response(product_service, target_audience, desired_action, formul
75
  # Configurar la aplicación Streamlit
76
  st.set_page_config(page_title="CTA Generator", page_icon="🎯", layout="wide")
77
 
 
 
 
 
 
78
  # Aplicar estilos
79
  st.markdown(apply_styles(), unsafe_allow_html=True)
80
 
@@ -82,12 +87,8 @@ st.markdown(apply_styles(), unsafe_allow_html=True)
82
  st.markdown("<h1>Generador de CTAs Persuasivos</h1>", unsafe_allow_html=True)
83
  st.markdown("<h3>Crea llamados a la acción que motiven a tu audiencia a dar el siguiente paso.</h3>", unsafe_allow_html=True)
84
 
85
- # Add after the title section and before the columns
86
- with st.expander("📖 Manual de Usuario", expanded=False):
87
- with open("manual.md", "r", encoding="utf-8") as file:
88
- manual_content = file.read()
89
- st.markdown(manual_content)
90
-
91
  # Crear dos columnas
92
  col1, col2 = st.columns([0.4, 0.6]) # 40% for left column, 60% for right column
93
 
 
75
  # Configurar la aplicación Streamlit
76
  st.set_page_config(page_title="CTA Generator", page_icon="🎯", layout="wide")
77
 
78
+ # Leer y mostrar el manual en el sidebar
79
+ with open("manual.md", "r", encoding="utf-8") as file:
80
+ manual_content = file.read()
81
+ st.sidebar.markdown(manual_content)
82
+
83
  # Aplicar estilos
84
  st.markdown(apply_styles(), unsafe_allow_html=True)
85
 
 
87
  st.markdown("<h1>Generador de CTAs Persuasivos</h1>", unsafe_allow_html=True)
88
  st.markdown("<h3>Crea llamados a la acción que motiven a tu audiencia a dar el siguiente paso.</h3>", unsafe_allow_html=True)
89
 
90
+ # Remove the duplicate manual expander from here
91
+
 
 
 
 
92
  # Crear dos columnas
93
  col1, col2 = st.columns([0.4, 0.6]) # 40% for left column, 60% for right column
94