Skip to content

Commit

Permalink
setters
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 10, 2023
1 parent 6eb1068 commit bb9295f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ def lang_detector(self):
self._lang_detector = OVOSLangDetectionFactory.create()
return self._lang_detector

@lang_detector.setter
def lang_detector(self, val):
self._lang_detector = val

@property
def translator(self):
""" language translator, lazy init on first access"""
Expand All @@ -348,6 +352,10 @@ def translator(self):
self._translator = OVOSLangTranslationFactory.create()
return self._translator

@translator.setter
def translator(self, val):
self._translator = val

@property
def settings_path(self) -> str:
"""
Expand Down

0 comments on commit bb9295f

Please sign in to comment.