Mpavan45 commited on
Commit
6309476
Β·
verified Β·
1 Parent(s): b7d7504

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
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.title('πŸ€– What is Natural Language Processing (NLP)?')
 
23
  elif st.session_state.selected_page == 'NLP Lifecycle':
24
- st.title('πŸ”„ Natural Language Processing (NLP) Lifecycle')
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.title('βš™οΈ Techniques in Natural Language Processing (NLP)')
 
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