AIdeaText commited on
Commit
a142dd0
verified
1 Parent(s): 16bf0f4

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
- 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
- )
 
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
+ # )