Update app.py
Browse files
app.py
CHANGED
@@ -478,7 +478,7 @@ if summarize:
|
|
478 |
|
479 |
with st.spinner("Calculating and matching entities, this takes a few seconds..."):
|
480 |
|
481 |
-
entity_match_html = highlight_entities(cleaned_text,summarized_text)
|
482 |
st.subheader("Summarized text with matched entities in Green and mismatched entities in Red relative to the original text")
|
483 |
st.markdown("####")
|
484 |
|
|
|
478 |
|
479 |
with st.spinner("Calculating and matching entities, this takes a few seconds..."):
|
480 |
|
481 |
+
entity_match_html = highlight_entities(cleaned_text[0],summarized_text)
|
482 |
st.subheader("Summarized text with matched entities in Green and mismatched entities in Red relative to the original text")
|
483 |
st.markdown("####")
|
484 |
|