arogeriogel commited on
Commit
c1e69f0
1 Parent(s): a29556a

including metadata

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def analyze(**kwargs):
48
  )
49
  excluded_words_recognizer = PatternRecognizer(supported_entity="MANUAL ADD",
50
  name="Excluded words recognizer",
51
- deny_list=[st.session_state.excluded_words])
52
  analyzer_engine_instance.registry.add_recognizer(excluded_words_recognizer)
53
 
54
  return analyzer_engine_instance.analyze(**kwargs)
 
48
  )
49
  excluded_words_recognizer = PatternRecognizer(supported_entity="MANUAL ADD",
50
  name="Excluded words recognizer",
51
+ deny_list=st.session_state.excluded_words.split(','))
52
  analyzer_engine_instance.registry.add_recognizer(excluded_words_recognizer)
53
 
54
  return analyzer_engine_instance.analyze(**kwargs)