Skip to content

Commit a013d89

Browse files
committed
use local import
1 parent 4e1b6a6 commit a013d89

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
@@ -37,7 +37,6 @@
3737
from rasa.nlu.model import Interpreter, Trainer, TrainingData
3838
from rasa.nlu.components import Component
3939
from rasa.nlu.tokenizers.tokenizer import Token
40-
from rasa.nlu.classifiers.diet_classifier import DIETClassifier
4140
from rasa.utils.tensorflow.constants import ENTITY_RECOGNITION
4241

4342
logger = logging.getLogger(__name__)
@@ -1025,6 +1024,7 @@ def get_entity_extractors(interpreter: Interpreter) -> Set[Text]:
10251024
Processors are removed since they do not detect the boundaries themselves.
10261025
"""
10271026
from rasa.nlu.extractors.extractor import EntityExtractor
1027+
from rasa.nlu.classifiers.diet_classifier import DIETClassifier
10281028

10291029
extractors = set()
10301030
for c in interpreter.pipeline:

0 commit comments

Comments
 (0)