deeppavlov / intent_classifier

Apache License 2.0
84 stars 31 forks source link

There is redundant code in embedding_inferable.py #9

Open sbqsbqsbq opened 5 years ago

sbqsbqsbq commented 5 years ago
        if self.module == "fastText":
            import fastText
            self.fasttext_model = fastText.load_model(fasttext_model_file)
        if self.module == "fasttext":
            import fasttext
            self.fasttext_model = fasttext.load_model(fasttext_model_file)
        return

I think it was written twice.