Skip to content

Commit

Permalink
Merge pull request #700 from snipsco/hotfix/metrics-import
Browse files Browse the repository at this point in the history
Fix snips-nlu-metrics import
  • Loading branch information
adrienball authored Nov 20, 2018
2 parents ddcfcec + 7730b28 commit 4e57cc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snips_nlu/cli/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e57cc2

Please sign in to comment.