Update app.py
Browse files
app.py
CHANGED
@@ -22,21 +22,21 @@ def logged_in_interface():
|
|
22 |
st.markdown(f"<h2 style='margin-bottom: 0;'>Bienvenido, {st.session_state.username}</h2>", unsafe_allow_html=True)
|
23 |
|
24 |
with col3:
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
|
41 |
with col5:
|
42 |
if st.button("Cerrar Sesi贸n"):
|
|
|
22 |
st.markdown(f"<h2 style='margin-bottom: 0;'>Bienvenido, {st.session_state.username}</h2>", unsafe_allow_html=True)
|
23 |
|
24 |
with col3:
|
25 |
+
st.markdown("""
|
26 |
+
<style>
|
27 |
+
div[data-baseweb="select"] > div {
|
28 |
+
font-size: 1.1rem;
|
29 |
+
}
|
30 |
+
.language-label {
|
31 |
+
font-size: 1.2rem;
|
32 |
+
font-weight: bold;
|
33 |
+
margin-bottom: 5px;
|
34 |
+
}
|
35 |
+
</style>
|
36 |
+
<p class="language-label">Idioma</p>
|
37 |
+
""", unsafe_allow_html=True)
|
38 |
+
selected_lang = st.selectbox("", list(languages.keys()), key="language_selector", label_visibility="collapsed")
|
39 |
+
lang_code = languages[selected_lang]
|
40 |
|
41 |
with col5:
|
42 |
if st.button("Cerrar Sesi贸n"):
|