ksvmuralidhar commited on
Commit
d956f0e
1 Parent(s): 9cd8b9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -223,7 +223,7 @@ def summ_inference(txt: str):
223
  def main():
224
  st.markdown('''<h3>News Summarizer and NER</h3>
225
  <p><a href="https://huggingface.co/spaces/ksvmuralidhar/news-summarizer-ner/blob/main/README.md#new-summarization--ner" target="_blank">README</a></p>''', unsafe_allow_html=True)
226
- article_txt = st.text_area("Paste a few sentences of a news article:", "", height=200)
227
  article_txt = re.sub(r'\n+',' ', article_txt)
228
  if st.button("Submit"):
229
  ner_result = [[ent, label.upper(), np.round(prob, 3)]
 
223
  def main():
224
  st.markdown('''<h3>News Summarizer and NER</h3>
225
  <p><a href="https://huggingface.co/spaces/ksvmuralidhar/news-summarizer-ner/blob/main/README.md#new-summarization--ner" target="_blank">README</a></p>''', unsafe_allow_html=True)
226
+ article_txt = st.text_area("Paste the text of a news article:", "", height=200)
227
  article_txt = re.sub(r'\n+',' ', article_txt)
228
  if st.button("Submit"):
229
  ner_result = [[ent, label.upper(), np.round(prob, 3)]