Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ def highlight_entities(article_content,summary_output):
|
|
| 257 |
return HTML_WRAPPER.format(soup)
|
| 258 |
|
| 259 |
|
| 260 |
-
def render_dependency_parsing(text:
|
| 261 |
html = render_sentence_custom(text, nlp)
|
| 262 |
html = html.replace("\n\n", "\n")
|
| 263 |
st.write(get_svg(html), unsafe_allow_html=True)
|
|
|
|
| 257 |
return HTML_WRAPPER.format(soup)
|
| 258 |
|
| 259 |
|
| 260 |
+
def render_dependency_parsing(text: dict):
|
| 261 |
html = render_sentence_custom(text, nlp)
|
| 262 |
html = html.replace("\n\n", "\n")
|
| 263 |
st.write(get_svg(html), unsafe_allow_html=True)
|