Spaces:
Sleeping
Sleeping
Commit
•
7b7fed2
1
Parent(s):
e0e165f
Update app.py
Browse files
app.py
CHANGED
@@ -222,7 +222,7 @@ def summ_inference(txt: str):
|
|
222 |
############## ENTRY POINT START #######################
|
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">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"):
|
|
|
222 |
############## ENTRY POINT START #######################
|
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"):
|