Update app.py
Browse files
app.py
CHANGED
|
@@ -43,10 +43,10 @@ def generate_ml_blog():
|
|
| 43 |
return blog
|
| 44 |
|
| 45 |
# Streamlit UI Components
|
| 46 |
-
st.title("Machine Learning Blog")
|
| 47 |
-
st.write("Welcome to my blog on **Machine Learning (ML)**!")
|
| 48 |
-
st.markdown(generate_ml_blog())
|
| 49 |
|
|
|
|
|
|
|
|
|
|
| 50 |
# Display interactive elements if needed
|
| 51 |
st.sidebar.header("π Contents")
|
| 52 |
st.sidebar.markdown("""
|
|
@@ -56,12 +56,12 @@ st.sidebar.markdown("""
|
|
| 56 |
- π [Unsupervised Learning](#Unsupervised-Learning)
|
| 57 |
- πΉοΈ [Reinforcement Learning](#Reinforcement-Learning)
|
| 58 |
- π [Popular Algorithms](#Popular-Machine-Learning-Algorithms)
|
| 59 |
-
- π§ Linear Regression
|
| 60 |
-
- βοΈ Logistic Regression
|
| 61 |
-
- π³ Decision Trees
|
| 62 |
-
- π K-Nearest Neighbors
|
| 63 |
-
- βοΈ Support Vector Machines
|
| 64 |
-
- π§ Neural Networks
|
| 65 |
""")
|
| 66 |
|
| 67 |
|
|
|
|
| 43 |
return blog
|
| 44 |
|
| 45 |
# Streamlit UI Components
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
st.markdown("<h1 style='text-align: center; color: grey;'>Machine Learning (ML)</h1>", unsafe_allow_html=True)
|
| 48 |
+
|
| 49 |
+
st.markdown("<h2 style='text-align: center; color: black;'>Introduction</h2>", unsafe_allow_html=True)
|
| 50 |
# Display interactive elements if needed
|
| 51 |
st.sidebar.header("π Contents")
|
| 52 |
st.sidebar.markdown("""
|
|
|
|
| 56 |
- π [Unsupervised Learning](#Unsupervised-Learning)
|
| 57 |
- πΉοΈ [Reinforcement Learning](#Reinforcement-Learning)
|
| 58 |
- π [Popular Algorithms](#Popular-Machine-Learning-Algorithms)
|
| 59 |
+
- π§ [Linear Regression](#Linear-Regression)
|
| 60 |
+
- βοΈ [Logistic Regression](#Logistic-Regression)
|
| 61 |
+
- π³ [Decision Trees](#Decision-Trees)
|
| 62 |
+
- π [K-Nearest Neighbors (KNN)](#K-Nearest-Neighbors-KNN)
|
| 63 |
+
- βοΈ [Support Vector Machines (SVM)](#Support-Vector-Machines-SVM)
|
| 64 |
+
- π§ [Neural Networks](#Neural-Networks)
|
| 65 |
""")
|
| 66 |
|
| 67 |
|