From 6fbebbc13d80890a50c2d8ab582dab62a27e38db Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Tue, 10 Oct 2023 19:04:00 +0100 Subject: [PATCH] Update ovos.py --- ovos_workshop/skills/ovos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_workshop/skills/ovos.py b/ovos_workshop/skills/ovos.py index b6b9e359..c87a4899 100644 --- a/ovos_workshop/skills/ovos.py +++ b/ovos_workshop/skills/ovos.py @@ -337,7 +337,7 @@ def lang_detector(self): """ language detector, lazy init on first access""" if not self._lang_detector: # if it's being used, there is no recovery, do not try: except: - self._lang_detector = OVOSLangDetectionFactory.create() + self._lang_detector = OVOSLangDetectionFactory.create(self.config_core) return self._lang_detector @lang_detector.setter @@ -349,7 +349,7 @@ def translator(self): """ language translator, lazy init on first access""" if not self._translator: # if it's being used, there is no recovery, do not try: except: - self._translator = OVOSLangTranslationFactory.create() + self._translator = OVOSLangTranslationFactory.create(self.config_core) return self._translator @translator.setter