Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -221,8 +221,8 @@ def summ_inference(txt: str):
|
|
221 |
|
222 |
############## ENTRY POINT START #######################
|
223 |
def main():
|
224 |
-
st.
|
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)]
|