Harika22 commited on
Commit
9945e63
·
verified ·
1 Parent(s): 54566e0

Update pages/2_Life cycle of NLP.py

Browse files
Files changed (1) hide show
  1. pages/2_Life cycle of NLP.py +7 -13
pages/2_Life cycle of NLP.py CHANGED
@@ -2,7 +2,6 @@ import streamlit as st
2
 
3
  import streamlit as st
4
 
5
- # Custom CSS for styling, animations, and a light background
6
  st.markdown(
7
  """
8
  <style>
@@ -16,7 +15,7 @@ st.markdown(
16
  }
17
  .title {
18
  text-align: center;
19
- color: #2c3e50; /* Deep gray-blue */
20
  font-size: 3rem;
21
  font-weight: bold;
22
  animation: fadeIn 1s ease-in-out;
@@ -25,7 +24,7 @@ st.markdown(
25
  text-align: center;
26
  font-style: italic;
27
  font-size: 1.2rem;
28
- color: #7f8c8d; /* Soft gray */
29
  animation: fadeIn 1.5s ease-in-out;
30
  }
31
  .section {
@@ -61,12 +60,16 @@ st.markdown(
61
  unsafe_allow_html=True,
62
  )
63
 
64
- # Sidebar navigation with radio buttons
65
  st.sidebar.title("NLP Life Cycle Navigation")
66
  step = st.sidebar.radio("Choose a step in NLP Life Cycle",
67
  ("Problem Statement", "Data Collection", "Simple EDA", "Data Pre-processing", "EDA",
68
  "Feature Engineering", "Training", "Testing", "Deployment/Monitoring"))
69
 
 
 
 
 
 
70
  st.markdown(
71
  """
72
  <div class='image-container'>
@@ -76,16 +79,7 @@ st.markdown(
76
  unsafe_allow_html=True,
77
  )
78
 
79
- # Title for the NLP Life Cycle
80
- st.markdown("<div class='title'>Life Cycle of NLP</div>", unsafe_allow_html=True)
81
-
82
- # Caption
83
- st.markdown(
84
- "<div class='caption'>Navigating the journey of NLP from start to deployment!...</div>",
85
- unsafe_allow_html=True,
86
- )
87
 
88
- # Display content based on the selected step from the sidebar
89
  if step == "Problem Statement":
90
  st.markdown("<div class='section'><b>Problem Statement</b><br>Every NLP project begins by identifying the problem that needs solving. It could range from sentiment analysis to machine translation, based on the requirements.</div>", unsafe_allow_html=True)
91
 
 
2
 
3
  import streamlit as st
4
 
 
5
  st.markdown(
6
  """
7
  <style>
 
15
  }
16
  .title {
17
  text-align: center;
18
+ color: black
19
  font-size: 3rem;
20
  font-weight: bold;
21
  animation: fadeIn 1s ease-in-out;
 
24
  text-align: center;
25
  font-style: italic;
26
  font-size: 1.2rem;
27
+ color: black
28
  animation: fadeIn 1.5s ease-in-out;
29
  }
30
  .section {
 
60
  unsafe_allow_html=True,
61
  )
62
 
 
63
  st.sidebar.title("NLP Life Cycle Navigation")
64
  step = st.sidebar.radio("Choose a step in NLP Life Cycle",
65
  ("Problem Statement", "Data Collection", "Simple EDA", "Data Pre-processing", "EDA",
66
  "Feature Engineering", "Training", "Testing", "Deployment/Monitoring"))
67
 
68
+
69
+ st.title("**Life Cycle of NLP**")
70
+ st.caption(Navigating the journey of NLP from start to deployment!...)
71
+
72
+
73
  st.markdown(
74
  """
75
  <div class='image-container'>
 
79
  unsafe_allow_html=True,
80
  )
81
 
 
 
 
 
 
 
 
 
82
 
 
83
  if step == "Problem Statement":
84
  st.markdown("<div class='section'><b>Problem Statement</b><br>Every NLP project begins by identifying the problem that needs solving. It could range from sentiment analysis to machine translation, based on the requirements.</div>", unsafe_allow_html=True)
85