Spaces:
Sleeping
Sleeping
Update modules/semantic/semantic_interface.py
Browse files
modules/semantic/semantic_interface.py
CHANGED
@@ -47,9 +47,9 @@ def display_semantic_interface(lang_code, nlp_models, semantic_t):
|
|
47 |
'Para comenzar un nuevo análisis semántico, cargue un archivo de texto (.txt)'))
|
48 |
|
49 |
uploaded_file = st.file_uploader(
|
50 |
-
|
51 |
type=['txt'],
|
52 |
-
|
53 |
)
|
54 |
|
55 |
# Verificar si hay un archivo cargado y un análisis pendiente
|
|
|
47 |
'Para comenzar un nuevo análisis semántico, cargue un archivo de texto (.txt)'))
|
48 |
|
49 |
uploaded_file = st.file_uploader(
|
50 |
+
semantic_t.get('semantic_file_uploader', 'Upload a text file for semantic analysis'),
|
51 |
type=['txt'],
|
52 |
+
key=f"semantic_file_uploader_{st.session_state.semantic_state['analysis_count']}"
|
53 |
)
|
54 |
|
55 |
# Verificar si hay un archivo cargado y un análisis pendiente
|