Update pages/DIFFERENCES_BETWEEN_ML&DL.py
Browse files
pages/DIFFERENCES_BETWEEN_ML&DL.py
CHANGED
@@ -1,48 +1,18 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
<style>
|
6 |
-
|
7 |
-
background:
|
8 |
-
rgba(0, 0, 0, 0.6),
|
9 |
-
rgba(0, 0, 0, 0.6)
|
10 |
-
),
|
11 |
-
url("https://cdn.pixabay.com/photo/2023/11/23/17/47/sunset-7704533_1280.jpg") no-repeat center center fixed;
|
12 |
background-size: cover;
|
13 |
-
|
14 |
-
|
15 |
-
}
|
16 |
-
h1 {
|
17 |
-
color: #ffffff;
|
18 |
-
text-align: center;
|
19 |
-
font-size: 2rem;
|
20 |
-
margin-top: 2px;
|
21 |
-
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
22 |
-
}
|
23 |
-
.division {
|
24 |
-
margin: 20px auto;
|
25 |
-
padding: 20px;
|
26 |
-
background: rgba(255, 255, 255, 0.1);
|
27 |
-
border-radius: 10px;
|
28 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
29 |
-
}
|
30 |
-
.division h2 {
|
31 |
-
color: #ffffff;
|
32 |
-
margin-bottom: 10px;
|
33 |
-
font-size: 2rem;
|
34 |
-
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
|
35 |
}
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
}
|
41 |
-
</style>
|
42 |
-
"""
|
43 |
-
|
44 |
-
# Inject CSS into Streamlit app
|
45 |
-
st.markdown(custom_css, unsafe_allow_html=True)
|
46 |
|
47 |
# Header Section
|
48 |
st.markdown("<h1>DIFFERENCES BETWEEN ML AND DL</h1>", unsafe_allow_html=True)
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
st.markdown(
|
4 |
+
"""
|
5 |
+
<style>
|
6 |
+
.stApp {
|
7 |
+
background-image: url("https://huggingface.co/spaces/ronakreddy18/Zerotoheroinmachinelearning/resolve/main/ai-technology-brain-background-digital-transformation-concept.jpg");
|
|
|
|
|
|
|
|
|
8 |
background-size: cover;
|
9 |
+
background-repeat: no-repeat;
|
10 |
+
background-attachment: fixed;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
+
</style>
|
13 |
+
""",
|
14 |
+
unsafe_allow_html=True
|
15 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
# Header Section
|
18 |
st.markdown("<h1>DIFFERENCES BETWEEN ML AND DL</h1>", unsafe_allow_html=True)
|