Spaces:
Sleeping
Sleeping
Made some changes in app.py
Browse files
app.py
CHANGED
|
@@ -242,13 +242,13 @@ def summ_inference(txt: str):
|
|
| 242 |
|
| 243 |
############## ENTRY POINT START #######################
|
| 244 |
def main():
|
| 245 |
-
st.markdown('''<h3>
|
| 246 |
-
<p><a href="https://huggingface.co/spaces/
|
| 247 |
-
<br>
|
| 248 |
-
The app works best in summarizing <a href="https://edition.cnn.com/" target="_blank">CNN</a> and
|
| 249 |
-
<a href="https://www.dailymail.co.uk/home/index.html" target="_blank">Daily Mail</a> news articles,
|
| 250 |
-
as the BART model is fine-tuned on them.
|
| 251 |
-
</p>
|
| 252 |
|
| 253 |
''', unsafe_allow_html=True)
|
| 254 |
input_type = st.radio('Select an option:', ['Paste news URL', 'Paste news text'],
|
|
|
|
| 242 |
|
| 243 |
############## ENTRY POINT START #######################
|
| 244 |
def main():
|
| 245 |
+
st.markdown('''<h3>Text Summarizer</h3>
|
| 246 |
+
# <p><a href="https://huggingface.co/spaces/Sravan1214/news_summarizer_ner/blob/main/README.md#new-summarization-and-ner" target="_blank">README</a>
|
| 247 |
+
# <br>
|
| 248 |
+
# The app works best in summarizing <a href="https://edition.cnn.com/" target="_blank">CNN</a> and
|
| 249 |
+
# <a href="https://www.dailymail.co.uk/home/index.html" target="_blank">Daily Mail</a> news articles,
|
| 250 |
+
# as the BART model is fine-tuned on them.
|
| 251 |
+
# </p>
|
| 252 |
|
| 253 |
''', unsafe_allow_html=True)
|
| 254 |
input_type = st.radio('Select an option:', ['Paste news URL', 'Paste news text'],
|