Update app.py
Browse files
app.py
CHANGED
@@ -22,28 +22,6 @@ st.set_page_config(
|
|
22 |
|
23 |
######################
|
24 |
|
25 |
-
# Primero, definir el CSS personalizado para el logo
|
26 |
-
st.html("""
|
27 |
-
<style>
|
28 |
-
[alt=Logo] {
|
29 |
-
height: 6rem;
|
30 |
-
max-width: 100%;
|
31 |
-
object-fit: contain;
|
32 |
-
margin: -9rem 0;
|
33 |
-
}
|
34 |
-
[data-testid="stSidebar"] [alt=Logo] {
|
35 |
-
filter: none !important;
|
36 |
-
}
|
37 |
-
</style>
|
38 |
-
""")
|
39 |
-
|
40 |
-
# Ahora el logo
|
41 |
-
st.logo(
|
42 |
-
"./assets/img/logo_92x92.png",
|
43 |
-
size="large", # Esto se sobrescribirá con el CSS
|
44 |
-
link="https://aideatext-v3.hf.space"
|
45 |
-
)
|
46 |
-
|
47 |
######################
|
48 |
|
49 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
22 |
|
23 |
######################
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
######################
|
26 |
|
27 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|