Skip to content

Commit 7b45e0f

Browse files
tabergmaGhostvv
andauthored
Update rasa/nlu/test.py
Co-Authored-By: Vladimir Vlasov <[email protected]>
1 parent 553fc5a commit 7b45e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rasa/nlu/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ def get_entity_extractors(interpreter: Interpreter) -> Set[Text]:
10281028
extractors = set()
10291029
for c in interpreter.pipeline:
10301030
if isinstance(c, EntityExtractor):
1031-
if c.name == "DIETClassifier":
1031+
if isinstance(c, DIETClassifier):
10321032
if c.component_config[ENTITY_RECOGNITION]:
10331033
extractors.add(c.name)
10341034
else:

0 commit comments

Comments
 (0)