Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,28 +18,43 @@ from data_integration import scrape_all_pages
|
|
| 18 |
|
| 19 |
page_bg_img = """
|
| 20 |
<style>
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
background: linear-gradient(45deg, #ff6ec4, #7873f5, #0fd850);
|
| 24 |
-
background-size: 400% 400%;
|
| 25 |
-
animation: gradientBackground 15s ease infinite;
|
| 26 |
}
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
0% {
|
| 30 |
-
background-position: 0%
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
50% {
|
| 33 |
-
background-position: 100%
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
100% {
|
| 36 |
-
background-position: 0%
|
| 37 |
}
|
| 38 |
}
|
|
|
|
| 39 |
</style>
|
| 40 |
"""
|
| 41 |
st.markdown(page_bg_img, unsafe_allow_html=True)
|
| 42 |
-
#
|
|
|
|
| 43 |
st.image("logo.png", width=80)
|
| 44 |
st.subheader(':violet[NLP HUB®]')
|
| 45 |
st.markdown("")
|
|
|
|
| 18 |
|
| 19 |
page_bg_img = """
|
| 20 |
<style>
|
| 21 |
+
.stApp > header {
|
| 22 |
+
background-color: transparent;
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
|
| 25 |
+
.stApp {
|
| 26 |
+
|
| 27 |
+
background-color:hsla(244,100%,50%,1);
|
| 28 |
+
background-image:
|
| 29 |
+
radial-gradient(at 40% 20%, hsla(266,100%,49%,1) 0px, transparent 50%),
|
| 30 |
+
radial-gradient(at 80% 0%, hsla(189,100%,56%,1) 0px, transparent 50%);
|
| 31 |
+
background-size: 150% 150%;
|
| 32 |
+
animation: my_animation 10s ease infinite;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
@keyframes my_animation {
|
| 36 |
0% {
|
| 37 |
+
background-position: 0% 0%;
|
| 38 |
+
}
|
| 39 |
+
25% {
|
| 40 |
+
background-position: 100% 0%;
|
| 41 |
}
|
| 42 |
50% {
|
| 43 |
+
background-position: 100% 100%;
|
| 44 |
+
}
|
| 45 |
+
75% {
|
| 46 |
+
background-position: 0% 100%;
|
| 47 |
}
|
| 48 |
100% {
|
| 49 |
+
background-position: 0% 0%;
|
| 50 |
}
|
| 51 |
}
|
| 52 |
+
|
| 53 |
</style>
|
| 54 |
"""
|
| 55 |
st.markdown(page_bg_img, unsafe_allow_html=True)
|
| 56 |
+
#st.image("logo.png", width=200, height=200)
|
| 57 |
+
|
| 58 |
st.image("logo.png", width=80)
|
| 59 |
st.subheader(':violet[NLP HUB®]')
|
| 60 |
st.markdown("")
|