Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,46 +1,12 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
custom_css = """
|
| 3 |
-
<style>
|
| 4 |
-
/* Body styling with gradient and background image */
|
| 5 |
-
body {
|
| 6 |
-
background: linear-gradient(to right, rgba(255, 0, 150, 0.7), rgba(0, 204, 255, 0.7)),
|
| 7 |
-
url("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/Km7QT3n7TxmLt_7wTBL_C.jpeg");
|
| 8 |
-
background-size: cover;
|
| 9 |
-
font-family: 'Arial', sans-serif;
|
| 10 |
-
}
|
| 11 |
-
h1 {
|
| 12 |
-
color: #ffffff;
|
| 13 |
-
text-align: center;
|
| 14 |
-
margin-top: 20px;
|
| 15 |
-
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
| 16 |
-
/* Style sections */
|
| 17 |
-
.section {
|
| 18 |
-
margin: 20px auto;
|
| 19 |
-
padding: 20px;
|
| 20 |
-
background: rgba(255, 255, 255, 0.1);
|
| 21 |
-
border-radius: 10px;
|
| 22 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 23 |
-
}
|
| 24 |
-
.section h2 {
|
| 25 |
-
color: #ffffff;
|
| 26 |
-
margin-bottom: 10px;
|
| 27 |
-
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
|
| 28 |
-
}
|
| 29 |
-
.section p {
|
| 30 |
-
line-height: 1.6;
|
| 31 |
-
font-size: 1.1rem;
|
| 32 |
-
}
|
| 33 |
-
</style>
|
| 34 |
-
"""
|
| 35 |
|
| 36 |
-
#
|
| 37 |
-
st.
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
st.markdown("<h1>Zero to Hero in ML</h1>", unsafe_allow_html=True)
|
| 41 |
-
st.caption("The Evolution of Intelligence Begins Here")
|
| 42 |
-
|
| 43 |
-
st.write("")
|
| 44 |
-
|
| 45 |
-
st.write("Explore the features of this app with stunning visuals and intuitive design.")
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
# Title with HTML styling
|
| 4 |
+
st.markdown(
|
| 5 |
+
"<h1 style='text-align: center; color: black;'>Zero to Hero in ML</h1>",
|
| 6 |
+
unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
st.markdown("""
|
| 9 |
+
<div style="text-align: center;">
|
| 10 |
+
<img src="st.markdown("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/NLAkcMZIeWXy91N9QwvQf.png")
|
| 11 |
+
""",
|
| 12 |
+
unsafe_allow_html=True
|