From 7730b28bafc5428c19f4540ec655816ad6a5b98d Mon Sep 17 00:00:00 2001 From: Adrien Ball Date: Tue, 20 Nov 2018 12:01:39 +0100 Subject: [PATCH] Fix snips-nlu-metrics import --- snips_nlu/cli/metrics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snips_nlu/cli/metrics.py b/snips_nlu/cli/metrics.py index 2503a9ff6..a383970ab 100644 --- a/snips_nlu/cli/metrics.py +++ b/snips_nlu/cli/metrics.py @@ -4,13 +4,14 @@ from pathlib import Path import plac -from snips_nlu_metrics import Engine from snips_nlu import SnipsNLUEngine, load_resources from snips_nlu.utils import json_string def make_engine_cls(config): + from snips_nlu_metrics import Engine + class ConfigEngine(Engine): def __init__(self): self.engine = None