Spaces:
Sleeping
Sleeping
Update modules/semantic/semantic_interface.py
Browse files
modules/semantic/semantic_interface.py
CHANGED
@@ -275,24 +275,4 @@ def display_semantic_results(semantic_result, lang_code, semantic_t):
|
|
275 |
else:
|
276 |
st.info(semantic_t.get('no_graph', 'No concept graph available'))
|
277 |
|
278 |
-
|
279 |
-
########################################################################################
|
280 |
-
'''
|
281 |
-
# Bot贸n de exportaci贸n al final
|
282 |
-
if 'semantic_analysis_counter' in st.session_state:
|
283 |
-
col1, col2, col3 = st.columns([2,1,2])
|
284 |
-
with col2:
|
285 |
-
if st.button(
|
286 |
-
semantic_t.get('export_button', 'Export Analysis'),
|
287 |
-
key=f"semantic_export_{st.session_state.semantic_analysis_counter}",
|
288 |
-
use_container_width=True
|
289 |
-
):
|
290 |
-
pdf_buffer = export_user_interactions(st.session_state.username, 'semantic')
|
291 |
-
st.download_button(
|
292 |
-
label=semantic_t.get('download_pdf', 'Download PDF'),
|
293 |
-
data=pdf_buffer,
|
294 |
-
file_name="semantic_analysis.pdf",
|
295 |
-
mime="application/pdf",
|
296 |
-
key=f"semantic_download_{st.session_state.semantic_analysis_counter}"
|
297 |
-
)
|
298 |
-
'''
|
|
|
275 |
else:
|
276 |
st.info(semantic_t.get('no_graph', 'No concept graph available'))
|
277 |
|
278 |
+
########################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|