Skip to content

Commit

Permalink
Update ovos.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Oct 10, 2023
1 parent bb9295f commit 6fbebbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6fbebbc

Please sign in to comment.