Spaces:
Sleeping
Sleeping
Update pages/Intro_to_DataScience.py
Browse files
pages/Intro_to_DataScience.py
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.markdown(
|
| 4 |
+
"""
|
| 5 |
+
<style>
|
| 6 |
+
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto:wght@300&display=swap');
|
| 7 |
+
|
| 8 |
+
h1 {
|
| 9 |
+
font-family: 'Open Sans', sans-serif;
|
| 10 |
+
text-align: center;
|
| 11 |
+
font-size: 40px;
|
| 12 |
+
background: linear-gradient(45deg, #FF6F61, #4A90E2);
|
| 13 |
+
color: black;
|
| 14 |
+
-webkit-background-clip: text;
|
| 15 |
+
padding: 10px;
|
| 16 |
+
}
|
| 17 |
+
</style>
|
| 18 |
+
<h1>INTRODUCTION TO DATA SCIENCE</h1>
|
| 19 |
+
""",
|
| 20 |
+
unsafe_allow_html=True)
|
| 21 |
+
|
| 22 |
+
st.markdown(
|
| 23 |
+
"""
|
| 24 |
+
<div style="text-align: center;">
|
| 25 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/lOnsaXtr_xCfn_bfRjbr3.png"
|
| 26 |
+
width="300"
|
| 27 |
+
style="border-radius: 15px; border: 5px solid #FF6F61; box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15); transition: transform 0.3s;">
|
| 28 |
+
</div>
|
| 29 |
+
""",
|
| 30 |
+
unsafe_allow_html=True)
|