nickmuchi commited on
Commit
682471e
1 Parent(s): bcc3dab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[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
 
 
478
 
479
  with st.spinner("Calculating and matching entities, this takes a few seconds..."):
480
 
481
+ entity_match_html = highlight_entities(' '.join(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