JeCabrera commited on
Commit
2bf0abd
verified
1 Parent(s): 1441154

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -46,16 +46,20 @@ col1, col2 = st.columns([4, 6])
46
 
47
  # Main input section in left column
48
  with col1:
49
- input_tab1, input_tab2 = st.tabs(["Entrada Manual", "Subir Archivo o Imagen"])
50
-
51
- with input_tab1:
52
  skills = st.text_area('馃挭 Tus Habilidades', height=70,
53
  help='Lista tus habilidades y experiencia clave')
54
  product_service = st.text_area('馃幆 Producto/Servicio', height=70,
55
  help='Describe tu producto o servicio')
56
 
57
- with input_tab2:
58
- uploaded_file = st.file_uploader("Sube un archivo o imagen",
 
 
 
 
 
59
  type=['txt', 'pdf', 'docx', 'jpg', 'jpeg', 'png'])
60
  if uploaded_file is not None:
61
  file_type = uploaded_file.name.split('.')[-1].lower()
@@ -111,11 +115,8 @@ with col1:
111
 
112
  # Set file type flag
113
  is_image = True
114
-
115
- with st.expander('鈿欙笍 Configuraci贸n Avanzada'):
116
- target_audience = st.text_area('馃懃 P煤blico Objetivo', height=70,
117
- help='Describe tu cliente o p煤blico ideal')
118
 
 
119
  formula_type = st.selectbox(
120
  '馃搵 Tipo de F贸rmula',
121
  options=list(offer_formulas.keys()),
 
46
 
47
  # Main input section in left column
48
  with col1:
49
+ # Keep only the manual input tab
50
+ with st.container():
 
51
  skills = st.text_area('馃挭 Tus Habilidades', height=70,
52
  help='Lista tus habilidades y experiencia clave')
53
  product_service = st.text_area('馃幆 Producto/Servicio', height=70,
54
  help='Describe tu producto o servicio')
55
 
56
+ # Accordion for additional settings
57
+ with st.expander('鈿欙笍 Configuraci贸n Avanzada'):
58
+ target_audience = st.text_area('馃懃 P煤blico Objetivo', height=70,
59
+ help='Describe tu cliente o p煤blico ideal')
60
+
61
+ # Add file/image uploader here
62
+ uploaded_file = st.file_uploader("馃搫 Sube un archivo o imagen",
63
  type=['txt', 'pdf', 'docx', 'jpg', 'jpeg', 'png'])
64
  if uploaded_file is not None:
65
  file_type = uploaded_file.name.split('.')[-1].lower()
 
115
 
116
  # Set file type flag
117
  is_image = True
 
 
 
 
118
 
119
+ # Selector de f贸rmula
120
  formula_type = st.selectbox(
121
  '馃搵 Tipo de F贸rmula',
122
  options=list(offer_formulas.keys()),