Spaces:
Sleeping
Sleeping
Update pages/Deep_Learning.py
Browse files- pages/Deep_Learning.py +18 -37
pages/Deep_Learning.py
CHANGED
|
@@ -15,59 +15,40 @@ st.set_page_config(page_title="Deep Learning Mentor Chat", layout="centered")
|
|
| 15 |
st.markdown("""
|
| 16 |
<style>
|
| 17 |
.main {
|
| 18 |
-
background: linear-gradient(135deg, #
|
| 19 |
-
color: white;
|
| 20 |
-
font-family: 'Segoe UI', sans-serif;
|
| 21 |
padding: 2rem;
|
|
|
|
| 22 |
}
|
| 23 |
.stButton>button {
|
| 24 |
-
background
|
|
|
|
| 25 |
color: white;
|
| 26 |
-
font-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
border:
|
| 30 |
width: 100%;
|
| 31 |
transition: 0.3s ease;
|
|
|
|
| 32 |
}
|
| 33 |
.stButton>button:hover {
|
| 34 |
-
background
|
| 35 |
-
color: #fff;
|
|
|
|
| 36 |
}
|
| 37 |
-
h1, h3, p, label
|
| 38 |
-
color:
|
| 39 |
text-align: center;
|
| 40 |
}
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
flex-direction: column;
|
| 45 |
-
gap: 1rem;
|
| 46 |
-
}
|
| 47 |
-
.chat-user {
|
| 48 |
-
background-color: #34495e;
|
| 49 |
-
padding: 0.8rem;
|
| 50 |
-
border-radius: 12px;
|
| 51 |
-
align-self: flex-end;
|
| 52 |
-
max-width: 80%;
|
| 53 |
-
font-weight: 500;
|
| 54 |
-
color: white;
|
| 55 |
}
|
| 56 |
-
.
|
| 57 |
-
background-color: #2ecc71;
|
| 58 |
-
padding: 0.8rem;
|
| 59 |
-
border-radius: 12px;
|
| 60 |
-
align-self: flex-start;
|
| 61 |
-
max-width: 80%;
|
| 62 |
color: white;
|
| 63 |
}
|
| 64 |
-
hr {
|
| 65 |
-
border-top: 1px solid #ffffff50;
|
| 66 |
-
margin: 2rem 0;
|
| 67 |
-
}
|
| 68 |
</style>
|
| 69 |
""", unsafe_allow_html=True)
|
| 70 |
-
|
| 71 |
# App title
|
| 72 |
st.markdown("<h1>🤖 Deep Learning Mentor Chat</h1>", unsafe_allow_html=True)
|
| 73 |
st.markdown("<p>Learn Deep Learning with personalized AI mentorship</p>", unsafe_allow_html=True)
|
|
|
|
| 15 |
st.markdown("""
|
| 16 |
<style>
|
| 17 |
.main {
|
| 18 |
+
background: linear-gradient(135deg, #430089 0%, #82ffa1 100%);
|
|
|
|
|
|
|
| 19 |
padding: 2rem;
|
| 20 |
+
font-family: 'Segoe UI', sans-serif;
|
| 21 |
}
|
| 22 |
.stButton>button {
|
| 23 |
+
background: #ffffff10;
|
| 24 |
+
border: 2px solid #ffffff50;
|
| 25 |
color: white;
|
| 26 |
+
font-size: 18px;
|
| 27 |
+
font-weight: 600;
|
| 28 |
+
padding: 0.8em 1.2em;
|
| 29 |
+
border-radius: 12px;
|
| 30 |
width: 100%;
|
| 31 |
transition: 0.3s ease;
|
| 32 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
|
| 33 |
}
|
| 34 |
.stButton>button:hover {
|
| 35 |
+
background: #ffffff30;
|
| 36 |
+
border-color: #fff;
|
| 37 |
+
color: #ffffff;
|
| 38 |
}
|
| 39 |
+
h1, h3, p, label {
|
| 40 |
+
color: #ffffff;
|
| 41 |
text-align: center;
|
| 42 |
}
|
| 43 |
+
hr {
|
| 44 |
+
border: 1px solid #ffffff50;
|
| 45 |
+
margin: 2em 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
}
|
| 47 |
+
.css-1aumxhk {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
color: white;
|
| 49 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
</style>
|
| 51 |
""", unsafe_allow_html=True)
|
|
|
|
| 52 |
# App title
|
| 53 |
st.markdown("<h1>🤖 Deep Learning Mentor Chat</h1>", unsafe_allow_html=True)
|
| 54 |
st.markdown("<p>Learn Deep Learning with personalized AI mentorship</p>", unsafe_allow_html=True)
|