Update app.py
Browse files
app.py
CHANGED
|
@@ -19,18 +19,20 @@ if sidebar_option != st.session_state.selected_page:
|
|
| 19 |
|
| 20 |
# Dynamically update the title based on the selected option
|
| 21 |
if st.session_state.selected_page == 'What is NLP?':
|
| 22 |
-
st.
|
|
|
|
| 23 |
elif st.session_state.selected_page == 'NLP Lifecycle':
|
| 24 |
-
st.
|
| 25 |
if sidebar_option == 'Problem Definition':
|
| 26 |
st.title('π§ Steps in the Natural Language Processing (NLP) lifecycle:')
|
| 27 |
elif st.session_state.selected_page == 'NLP Techniques':
|
| 28 |
-
st.
|
|
|
|
| 29 |
|
| 30 |
# Content for "What is NLP?"
|
| 31 |
if st.session_state.selected_page == 'What is NLP?':
|
|
|
|
| 32 |
st.write("""
|
| 33 |
-
##Natural Language Processing (NLP)
|
| 34 |
#### π€ What is NLP?
|
| 35 |
Natural Language Processing (NLP) is a subfield of artificial intelligence (AI) that focuses on the interaction between computers and human (natural) languages. The goal of NLP is to enable machines to understand, interpret, and generate human language in a way that is meaningful.
|
| 36 |
|
|
|
|
| 19 |
|
| 20 |
# Dynamically update the title based on the selected option
|
| 21 |
if st.session_state.selected_page == 'What is NLP?':
|
| 22 |
+
st.markdown("<h1 style='text-align: center; color: black;'>Natural Language Processing (NLP)</h1>", unsafe_allow_html=True)
|
| 23 |
+
|
| 24 |
elif st.session_state.selected_page == 'NLP Lifecycle':
|
| 25 |
+
st.markdown("<h1 style='text-align: center; color: balck;'>'π Natural Language Processing (NLP) Lifecycle'</h1>", unsafe_allow_html=True)
|
| 26 |
if sidebar_option == 'Problem Definition':
|
| 27 |
st.title('π§ Steps in the Natural Language Processing (NLP) lifecycle:')
|
| 28 |
elif st.session_state.selected_page == 'NLP Techniques':
|
| 29 |
+
st.markdown("<h1 style='text-align: center; color: black;'>'βοΈ Techniques in Natural Language Processing (NLP)'</h1>", unsafe_allow_html=True)
|
| 30 |
+
|
| 31 |
|
| 32 |
# Content for "What is NLP?"
|
| 33 |
if st.session_state.selected_page == 'What is NLP?':
|
| 34 |
+
st.markdown("<h2 style='text-align: center; color: black;'>'Introduction'</h2>", unsafe_allow_html=True)
|
| 35 |
st.write("""
|
|
|
|
| 36 |
#### π€ What is NLP?
|
| 37 |
Natural Language Processing (NLP) is a subfield of artificial intelligence (AI) that focuses on the interaction between computers and human (natural) languages. The goal of NLP is to enable machines to understand, interpret, and generate human language in a way that is meaningful.
|
| 38 |
|