From e637912bc3f809b0f3b4d5c78773205d059e5acd Mon Sep 17 00:00:00 2001 From: Jarema Radom <jaremaradom@gmail.com> Date: Thu, 24 Jun 2021 15:07:17 +0200 Subject: [PATCH] Final fix --- worker.py | 1 - 1 file changed, 1 deletion(-) diff --git a/worker.py b/worker.py index 45147ea..f72481f 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 -- GitLab