Update modules/semantic/semantic_interface.py
Browse files
modules/semantic/semantic_interface.py
CHANGED
@@ -23,7 +23,8 @@ from .semantic_process import (
|
|
23 |
|
24 |
from ..utils.widget_utils import generate_unique_key
|
25 |
from ..database.semantic_mongo_db import store_student_semantic_result
|
26 |
-
|
|
|
27 |
|
28 |
|
29 |
###############################
|
@@ -193,7 +194,8 @@ def display_semantic_results(semantic_result, lang_code, semantic_t):
|
|
193 |
st.image(analysis['entity_graph'])
|
194 |
else:
|
195 |
st.info(semantic_t.get('no_entity_graph', 'No entity graph available'))
|
196 |
-
|
|
|
197 |
# Bot贸n de exportaci贸n al final
|
198 |
if 'semantic_analysis_counter' in st.session_state:
|
199 |
col1, col2, col3 = st.columns([2,1,2])
|
@@ -210,4 +212,5 @@ def display_semantic_results(semantic_result, lang_code, semantic_t):
|
|
210 |
file_name="semantic_analysis.pdf",
|
211 |
mime="application/pdf",
|
212 |
key=f"semantic_download_{st.session_state.semantic_analysis_counter}"
|
213 |
-
)
|
|
|
|
23 |
|
24 |
from ..utils.widget_utils import generate_unique_key
|
25 |
from ..database.semantic_mongo_db import store_student_semantic_result
|
26 |
+
|
27 |
+
# from ..database.semantic_export import export_user_interactions
|
28 |
|
29 |
|
30 |
###############################
|
|
|
194 |
st.image(analysis['entity_graph'])
|
195 |
else:
|
196 |
st.info(semantic_t.get('no_entity_graph', 'No entity graph available'))
|
197 |
+
|
198 |
+
'''
|
199 |
# Bot贸n de exportaci贸n al final
|
200 |
if 'semantic_analysis_counter' in st.session_state:
|
201 |
col1, col2, col3 = st.columns([2,1,2])
|
|
|
212 |
file_name="semantic_analysis.pdf",
|
213 |
mime="application/pdf",
|
214 |
key=f"semantic_download_{st.session_state.semantic_analysis_counter}"
|
215 |
+
)
|
216 |
+
'''
|