Update app.py
Browse files
app.py
CHANGED
|
@@ -419,13 +419,6 @@ article_text = st.text_area(
|
|
| 419 |
|
| 420 |
summarize = st.button("Summarize")
|
| 421 |
|
| 422 |
-
summarized_text = st.text_area(
|
| 423 |
-
label='Summarized Text with no Entity Matching',
|
| 424 |
-
placeholder="Full summarized text will be displayed here..",
|
| 425 |
-
height=250,
|
| 426 |
-
key='summ_area'
|
| 427 |
-
)
|
| 428 |
-
|
| 429 |
# called on toggle button [summarize]
|
| 430 |
if summarize:
|
| 431 |
if model_type == "Facebook-Bart":
|
|
@@ -489,7 +482,7 @@ if summarize:
|
|
| 489 |
placeholder="Full summarized text will be displayed here..",
|
| 490 |
height=250,
|
| 491 |
key='summ_area'
|
| 492 |
-
)
|
| 493 |
|
| 494 |
st.write(entity_match_html, unsafe_allow_html=True)
|
| 495 |
|
|
|
|
| 419 |
|
| 420 |
summarize = st.button("Summarize")
|
| 421 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 422 |
# called on toggle button [summarize]
|
| 423 |
if summarize:
|
| 424 |
if model_type == "Facebook-Bart":
|
|
|
|
| 482 |
placeholder="Full summarized text will be displayed here..",
|
| 483 |
height=250,
|
| 484 |
key='summ_area'
|
| 485 |
+
)
|
| 486 |
|
| 487 |
st.write(entity_match_html, unsafe_allow_html=True)
|
| 488 |
|