From 7790ea5c868ce2848d5d8130b851b3ff6b8f2286 Mon Sep 17 00:00:00 2001 From: Marek Maziarz <marek.maziarz@pwr.edu.pl> Date: Wed, 2 Oct 2024 17:11:14 +0200 Subject: [PATCH] error with bad model evocation handled --- src/winer_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winer_worker.py b/src/winer_worker.py index c62ddc6..2372a18 100644 --- a/src/winer_worker.py +++ b/src/winer_worker.py @@ -101,7 +101,7 @@ class WinerWorker(nlp_ws.NLPWorker): ) # Process data - aggregations = nlp.process(packed_tokenized_inputs) + aggregations = self._model.process(packed_tokenized_inputs) # Aggregate results to entities entities = allign_into_entities( -- GitLab