Update modules/morphosyntax/morphosyntax_interface.py
Browse files
modules/morphosyntax/morphosyntax_interface.py
CHANGED
@@ -293,11 +293,11 @@ def display_morphosyntax_results(result, lang_code, morpho_t):
|
|
293 |
arc_diagrams.append(html)
|
294 |
|
295 |
# Bot贸n de exportaci贸n
|
296 |
-
if st.button(morpho_t.get('export_button', 'Export Analysis')):
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
|
|
293 |
arc_diagrams.append(html)
|
294 |
|
295 |
# Bot贸n de exportaci贸n
|
296 |
+
# if st.button(morpho_t.get('export_button', 'Export Analysis')):
|
297 |
+
# pdf_buffer = export_user_interactions(st.session_state.username, 'morphosyntax')
|
298 |
+
# st.download_button(
|
299 |
+
# label=morpho_t.get('download_pdf', 'Download PDF'),
|
300 |
+
# data=pdf_buffer,
|
301 |
+
# file_name="morphosyntax_analysis.pdf",
|
302 |
+
# mime="application/pdf"
|
303 |
+
# )
|