Soumen commited on
Commit
cb52c89
·
1 Parent(s): bb357c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -70,14 +70,13 @@ def main():
70
  This is a Natural Language Processing(NLP) Based App useful for basic NLP task
71
  NER,Sentiment, Spell Corrections and Summarization
72
  """)
73
- text = st.text_input("Type your text!")
74
  # Entity Extraction
 
75
  if st.checkbox("Show Named Entities"):
76
  st.subheader("Analyze Your Text")
77
  if st.button("Extract"):
78
  entity_result = entity_analyzer(text)
79
  st.json(entity_result)
80
-
81
  # Sentiment Analysis
82
  if st.checkbox("Show Sentiment Analysis"):
83
  st.subheader("Analyse Your Text")
 
70
  This is a Natural Language Processing(NLP) Based App useful for basic NLP task
71
  NER,Sentiment, Spell Corrections and Summarization
72
  """)
 
73
  # Entity Extraction
74
+ text = st.text_input("Type your text!")
75
  if st.checkbox("Show Named Entities"):
76
  st.subheader("Analyze Your Text")
77
  if st.button("Extract"):
78
  entity_result = entity_analyzer(text)
79
  st.json(entity_result)
 
80
  # Sentiment Analysis
81
  if st.checkbox("Show Sentiment Analysis"):
82
  st.subheader("Analyse Your Text")