ksvmuralidhar commited on
Commit
39f8cfc
·
verified ·
1 Parent(s): 23239b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -221,8 +221,8 @@ def summ_inference(txt: str):
221
 
222
  ############## ENTRY POINT START #######################
223
  def main():
224
- st.title("News Summarizer & NER")
225
- article_txt = st.text_area("Paste few sentences of a news article:", "", height=200)
226
  article_txt = re.sub(r'\n+',' ', article_txt)
227
  if st.button("Submit"):
228
  ner_result = [[ent, label.upper(), np.round(prob, 3)]
 
221
 
222
  ############## ENTRY POINT START #######################
223
  def main():
224
+ st.markdown("<h3>News Summarizer and NER</h3>", unsafe_allow_html=True)
225
+ article_txt = st.text_area("Paste a few sentences of a news article:", "", height=200)
226
  article_txt = re.sub(r'\n+',' ', article_txt)
227
  if st.button("Submit"):
228
  ner_result = [[ent, label.upper(), np.round(prob, 3)]