diff --git a/worker.py b/worker.py index 45147ea2dee9e6f0c33fcb956eae08c693b1dd7a..f72481fd5ec0b327521ab45c4f99638c9ddc515f 100644 --- a/worker.py +++ b/worker.py @@ -49,7 +49,6 @@ class Worker(nlp_ws.NLPWorker): self.languagetool_path = self.config["languagetool_path"] os.environ["LTP_PATH"] = self.languagetool_path self.tool = language_tool_python.LanguageTool('pl-PL') - model_path = self.config["model_path"] self.model = AutoModelForTokenClassification.from_pretrained( model_path