NeonSamurai commited on
Commit
91c34a2
·
verified ·
1 Parent(s): bb078cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -8,8 +8,8 @@ import string
8
  from facts import show_fun_fact
9
 
10
  # Download necessary resources
11
- #nltk.download('punkt')
12
- #nltk.download('stopwords')
13
 
14
  # Set Streamlit page config
15
  st.set_page_config(layout="centered")
@@ -53,7 +53,7 @@ st.markdown(
53
  )
54
 
55
  title_image_base64 = encode_image(r"Images/NLP_title_img.jpg")
56
- st.image("Images/NLP_title_img.jpg", caption="Unlocking the power of language with NLP", use_column_width=True)
57
 
58
  # Introduction section with emojis and styled text
59
  st.markdown("<h2 style='text-align: center; color: white;'>What You'll Discover Here 🕵️‍♂️</h2>", unsafe_allow_html=True)
@@ -95,6 +95,7 @@ st.markdown("""
95
  Let’s get started and explore the exciting Introduction to NLP! 🌟
96
  """)
97
 
 
98
  show_fun_fact()
99
 
100
  # Credir Section
 
8
  from facts import show_fun_fact
9
 
10
  # Download necessary resources
11
+ nltk.download('punkt')
12
+ nltk.download('stopwords')
13
 
14
  # Set Streamlit page config
15
  st.set_page_config(layout="centered")
 
53
  )
54
 
55
  title_image_base64 = encode_image(r"Images/NLP_title_img.jpg")
56
+ st.image("Images/NLP_title_img.jpg", caption="Unlocking the power of language with NLP", use_container_width=True)
57
 
58
  # Introduction section with emojis and styled text
59
  st.markdown("<h2 style='text-align: center; color: white;'>What You'll Discover Here 🕵️‍♂️</h2>", unsafe_allow_html=True)
 
95
  Let’s get started and explore the exciting Introduction to NLP! 🌟
96
  """)
97
 
98
+ # fun fact
99
  show_fun_fact()
100
 
101
  # Credir Section