AIdeaText commited on
Commit
afd5df1
1 Parent(s): 20c3897

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -112,7 +112,6 @@ if st.button(t['analyze_button']):
112
  html = re.sub(r'<g [^>]*transform="translate\((\d+),(\d+)\)"', lambda m: f'<g transform="translate({m.group(1)},50)"', html)
113
  st.write(html, unsafe_allow_html=True)
114
 
115
- # Network graph
116
  with st.expander(t['network_diagram'], expanded=True):
117
- fig = visualize_syntax(sentence_input, nlp_models[lang_code])
118
  st.pyplot(fig)
 
112
  html = re.sub(r'<g [^>]*transform="translate\((\d+),(\d+)\)"', lambda m: f'<g transform="translate({m.group(1)},50)"', html)
113
  st.write(html, unsafe_allow_html=True)
114
 
 
115
  with st.expander(t['network_diagram'], expanded=True):
116
+ fig = visualize_syntax(sentence_input, nlp_models[lang_code], lang_code)
117
  st.pyplot(fig)