Spaces:
Sleeping
Sleeping
ksvmuralidhar
commited on
Commit
•
1f66b97
1
Parent(s):
ce3c9a5
Update app.py
Browse files
app.py
CHANGED
@@ -232,7 +232,7 @@ def main():
|
|
232 |
ner_df = pd.DataFrame(ner_result, columns=['entity', 'label', 'confidence'])
|
233 |
summ_result = summ_inference(article_txt)
|
234 |
|
235 |
-
ner_txt = get_ner_text(article_txt, ner_result)
|
236 |
|
237 |
st.markdown(f"<h4>SUMMARY:</h4>{summ_result}<h4>ENTITIES:</h4>", unsafe_allow_html=True)
|
238 |
st.markdown(f"{ner_txt}", unsafe_allow_html=True)
|
|
|
232 |
ner_df = pd.DataFrame(ner_result, columns=['entity', 'label', 'confidence'])
|
233 |
summ_result = summ_inference(article_txt)
|
234 |
|
235 |
+
ner_txt = get_ner_text(article_txt, ner_result).replace('$', '\$')
|
236 |
|
237 |
st.markdown(f"<h4>SUMMARY:</h4>{summ_result}<h4>ENTITIES:</h4>", unsafe_allow_html=True)
|
238 |
st.markdown(f"{ner_txt}", unsafe_allow_html=True)
|