Mpavan45 commited on
Commit
70d5347
·
verified ·
1 Parent(s): f21a063

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,15 +1,14 @@
1
  import streamlit as st
2
 
3
  def generate_ml_blog():
4
- # ML blog content with emojis
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",