Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,36 +22,39 @@ st.set_page_config(
|
|
| 22 |
|
| 23 |
######################
|
| 24 |
|
| 25 |
-
# CSS global
|
| 26 |
st.markdown("""
|
| 27 |
<style>
|
| 28 |
-
/* Ocultar el men煤 de hamburguesa */
|
| 29 |
#MainMenu {visibility: hidden;}
|
| 30 |
-
|
| 31 |
-
/* Ajustar el padding superior */
|
| 32 |
.main > div:first-child {
|
| 33 |
padding-top: 0;
|
| 34 |
}
|
| 35 |
-
|
| 36 |
-
/* Estilo para contenedores */
|
| 37 |
.block-container {
|
| 38 |
padding-top: 1rem;
|
| 39 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
</style>
|
| 41 |
""", unsafe_allow_html=True)
|
| 42 |
|
| 43 |
-
#
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
|
| 49 |
|
| 50 |
######################
|
| 51 |
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
| 56 |
|
| 57 |
# Importaciones locales
|
|
|
|
| 22 |
|
| 23 |
######################
|
| 24 |
|
| 25 |
+
# CSS global
|
| 26 |
st.markdown("""
|
| 27 |
<style>
|
|
|
|
| 28 |
#MainMenu {visibility: hidden;}
|
|
|
|
|
|
|
| 29 |
.main > div:first-child {
|
| 30 |
padding-top: 0;
|
| 31 |
}
|
|
|
|
|
|
|
| 32 |
.block-container {
|
| 33 |
padding-top: 1rem;
|
| 34 |
}
|
| 35 |
+
[alt=Logo] {
|
| 36 |
+
height: 12rem;
|
| 37 |
+
max-width: 100%;
|
| 38 |
+
object-fit: contain;
|
| 39 |
+
margin: 0.5rem 0;
|
| 40 |
+
}
|
| 41 |
+
[data-testid="stSidebar"] [alt=Logo] {
|
| 42 |
+
filter: none !important;
|
| 43 |
+
}
|
| 44 |
</style>
|
| 45 |
""", unsafe_allow_html=True)
|
| 46 |
|
| 47 |
+
# Logo usando st.markdown
|
| 48 |
+
st.markdown("""
|
| 49 |
+
<div style="text-align: center; padding: 1rem;">
|
| 50 |
+
<a href="https://aideatext.ai">
|
| 51 |
+
<img src="./assets/img/logo_92x92.png" alt="Logo">
|
| 52 |
+
</a>
|
| 53 |
+
</div>
|
| 54 |
+
""", unsafe_allow_html=True)
|
| 55 |
|
| 56 |
######################
|
| 57 |
|
|
|
|
|
|
|
|
|
|
| 58 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
| 59 |
|
| 60 |
# Importaciones locales
|