AIdeaText commited on
Commit
62917cd
·
verified ·
1 Parent(s): 5013af0

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
- text_content = uploaded_file.getvalue().decode('utf-8')
61
 
62
  analysis_result = process_semantic_input(
63
- text_content,
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