Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ st.set_page_config(
|
|
| 22 |
|
| 23 |
######################
|
| 24 |
|
| 25 |
-
# CSS global
|
| 26 |
st.markdown("""
|
| 27 |
<style>
|
| 28 |
#MainMenu {visibility: hidden;}
|
|
@@ -32,27 +32,9 @@ st.markdown("""
|
|
| 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__))))
|
|
|
|
| 22 |
|
| 23 |
######################
|
| 24 |
|
| 25 |
+
# Solo el CSS global, sin logo
|
| 26 |
st.markdown("""
|
| 27 |
<style>
|
| 28 |
#MainMenu {visibility: hidden;}
|
|
|
|
| 32 |
.block-container {
|
| 33 |
padding-top: 1rem;
|
| 34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
</style>
|
| 36 |
""", unsafe_allow_html=True)
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
######################
|
| 39 |
|
| 40 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|