Spaces:
Sleeping
Sleeping
Update modules/semantic/semantic_interface.py
Browse files
modules/semantic/semantic_interface.py
CHANGED
@@ -57,12 +57,13 @@ def display_semantic_interface(text, lang_code, nlp_models, t, semantic_t):
|
|
57 |
try:
|
58 |
with st.spinner(semantic_t.get('processing', 'Processing...')):
|
59 |
# Realizar análisis
|
60 |
-
|
61 |
|
62 |
analysis_result = process_semantic_input(
|
63 |
-
|
64 |
lang_code,
|
65 |
nlp_models,
|
|
|
66 |
semantic_t
|
67 |
)
|
68 |
|
|
|
57 |
try:
|
58 |
with st.spinner(semantic_t.get('processing', 'Processing...')):
|
59 |
# Realizar análisis
|
60 |
+
text = uploaded_file.getvalue().decode('utf-8')
|
61 |
|
62 |
analysis_result = process_semantic_input(
|
63 |
+
text,
|
64 |
lang_code,
|
65 |
nlp_models,
|
66 |
+
t,
|
67 |
semantic_t
|
68 |
)
|
69 |
|