Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def logged_in_interface():
|
|
15 |
# Crear un contenedor para la barra superior
|
16 |
with st.container():
|
17 |
# Usar m谩s columnas para un mejor control del espacio
|
18 |
-
col1, col2, col3, col4, col5 = st.columns([1, 1,
|
19 |
|
20 |
with col1:
|
21 |
st.markdown(f"<h3 style='margin-bottom: 0;'>Bienvenido, {st.session_state.username}</h3>", unsafe_allow_html=True)
|
@@ -24,7 +24,15 @@ def logged_in_interface():
|
|
24 |
st.markdown("<p style='font-size: 1.2rem; margin-bottom: 0; padding-top: 10px;'>Selecciona el idioma del texto que analizaras</p>", unsafe_allow_html=True)
|
25 |
|
26 |
with col4:
|
27 |
-
st.markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
selected_lang = st.selectbox("", list(languages.keys()), key="language_selector", label_visibility="collapsed")
|
29 |
lang_code = languages[selected_lang]
|
30 |
|
|
|
15 |
# Crear un contenedor para la barra superior
|
16 |
with st.container():
|
17 |
# Usar m谩s columnas para un mejor control del espacio
|
18 |
+
col1, col2, col3, col4, col5 = st.columns([1, 1, 0.8, 1, 1])
|
19 |
|
20 |
with col1:
|
21 |
st.markdown(f"<h3 style='margin-bottom: 0;'>Bienvenido, {st.session_state.username}</h3>", unsafe_allow_html=True)
|
|
|
24 |
st.markdown("<p style='font-size: 1.2rem; margin-bottom: 0; padding-top: 10px;'>Selecciona el idioma del texto que analizaras</p>", unsafe_allow_html=True)
|
25 |
|
26 |
with col4:
|
27 |
+
st.markdown("""
|
28 |
+
<style>
|
29 |
+
.stSelectbox { margin-left: -20px; }
|
30 |
+
div[data-testid="stSelectbox"] {
|
31 |
+
margin-top: 15px; /* Ajusta este valor para mover el bot贸n hacia abajo */
|
32 |
+
margin-bottom: 10px; /* Ajusta este valor para controlar el espacio debajo del bot贸n */
|
33 |
+
}
|
34 |
+
</style>
|
35 |
+
""", unsafe_allow_html=True)
|
36 |
selected_lang = st.selectbox("", list(languages.keys()), key="language_selector", label_visibility="collapsed")
|
37 |
lang_code = languages[selected_lang]
|
38 |
|