Update app.py
Browse files
app.py
CHANGED
@@ -499,7 +499,7 @@ if summarize:
|
|
499 |
|
500 |
with st.spinner("Calculating and matching entities, this takes a few seconds..."):
|
501 |
|
502 |
-
entity_match_html = highlight_entities(cleaned_text,summarized_text)
|
503 |
st.subheader("Summarized text with matched entities in Green and mismatched entities in Red relative to the original text")
|
504 |
st.markdown("####")
|
505 |
|
|
|
499 |
|
500 |
with st.spinner("Calculating and matching entities, this takes a few seconds..."):
|
501 |
|
502 |
+
entity_match_html = highlight_entities(cleaned_text[0],summarized_text)
|
503 |
st.subheader("Summarized text with matched entities in Green and mismatched entities in Red relative to the original text")
|
504 |
st.markdown("####")
|
505 |
|