Update modules/morphosyntax/morphosyntax_interface.py
Browse files
modules/morphosyntax/morphosyntax_interface.py
CHANGED
@@ -89,6 +89,13 @@ def display_morphosyntax_interface(lang_code, nlp_models, t):
|
|
89 |
mime="application/pdf"
|
90 |
)
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
'''
|
93 |
if user_input:
|
94 |
# Añadir el mensaje del usuario al historial
|
|
|
89 |
mime="application/pdf"
|
90 |
)
|
91 |
|
92 |
+
def display_visualizations(visualizations, t):
|
93 |
+
for i, viz in enumerate(visualizations):
|
94 |
+
st.markdown(f"**{t['sentence']} {i+1}**")
|
95 |
+
st.components.v1.html(viz, height=370, scrolling=True)
|
96 |
+
if i < len(visualizations) - 1:
|
97 |
+
st.markdown("---")
|
98 |
+
|
99 |
'''
|
100 |
if user_input:
|
101 |
# Añadir el mensaje del usuario al historial
|