🐛[bugfix] typo WIGHTS -> WEIGHTS

This commit is contained in:
misyaguziya
2023-11-28 10:18:51 +09:00
parent 0311d4cdfc
commit 52abfb8a97
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ class Model:
self.speaker_audio_recorder = None
self.speaker_energy_recorder = None
self.speaker_energy_plot_progressbar = None
self.translator = Translator(config.PATH_LOCAL, config.CTRANSLATE2_WIGHTS[config.WEIGHT_TYPE])
self.translator = Translator(config.PATH_LOCAL, config.CTRANSLATE2_WEIGHTS[config.WEIGHT_TYPE])
self.keyword_processor = KeywordProcessor()
def resetTranslator(self):