Update app.py
Browse files
app.py
CHANGED
|
@@ -1,15 +1,14 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
def generate_ml_blog():
|
| 4 |
-
|
| 5 |
-
ml_content = """
|
| 6 |
## What is Machine Learning (ML) :
|
| 7 |
๐ค **Machine Learning (ML)** is a branch of **Artificial Intelligence (AI)** that focuses on developing systems that can learn from and make decisions or predictions based on data. ๐ Instead of being explicitly programmed to perform specific tasks, machine learning algorithms use patterns and insights derived from data to improve their performance over time. ๐
|
| 8 |
|
| 9 |
At its core, **machine learning** enables computers to act autonomously in situations where explicit instructions are impractical or impossible, making it an essential technology in todayโs data-driven world. ๐
|
| 10 |
-
"""
|
| 11 |
-
retun ml_content
|
| 12 |
|
|
|
|
|
|
|
| 13 |
|
| 14 |
def introduction_to_ml():
|
| 15 |
introduction_blog = '''
|
|
@@ -245,6 +244,7 @@ st.sidebar.markdown("""
|
|
| 245 |
""")
|
| 246 |
|
| 247 |
# Display content based on the sidebar selection
|
|
|
|
| 248 |
st.markdown(generate_ml_blog())
|
| 249 |
page = st.sidebar.radio("Select Section", [
|
| 250 |
"Introduction",
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
def generate_ml_blog():
|
| 4 |
+
ml_content = '''
|
|
|
|
| 5 |
## What is Machine Learning (ML) :
|
| 6 |
๐ค **Machine Learning (ML)** is a branch of **Artificial Intelligence (AI)** that focuses on developing systems that can learn from and make decisions or predictions based on data. ๐ Instead of being explicitly programmed to perform specific tasks, machine learning algorithms use patterns and insights derived from data to improve their performance over time. ๐
|
| 7 |
|
| 8 |
At its core, **machine learning** enables computers to act autonomously in situations where explicit instructions are impractical or impossible, making it an essential technology in todayโs data-driven world. ๐
|
|
|
|
|
|
|
| 9 |
|
| 10 |
+
'''
|
| 11 |
+
return ml_content
|
| 12 |
|
| 13 |
def introduction_to_ml():
|
| 14 |
introduction_blog = '''
|
|
|
|
| 244 |
""")
|
| 245 |
|
| 246 |
# Display content based on the sidebar selection
|
| 247 |
+
st.markdown("<h1 style='text-align: center; color: orange;'>Machine Learning (ML)</h1>", unsafe_allow_html=True)
|
| 248 |
st.markdown(generate_ml_blog())
|
| 249 |
page = st.sidebar.radio("Select Section", [
|
| 250 |
"Introduction",
|