🐛[bugfix] typo WIGHTS -> WEIGHTS
This commit is contained in:
@@ -65,8 +65,8 @@ class Config:
|
||||
return self._DOCUMENTS_URL
|
||||
|
||||
@property
|
||||
def CTRANSLATE2_WIGHTS(self):
|
||||
return self._CTRANSLATE2_WIGHTS
|
||||
def CTRANSLATE2_WEIGHTS(self):
|
||||
return self._CTRANSLATE2_WEIGHTS
|
||||
|
||||
@property
|
||||
def MAX_MIC_ENERGY_THRESHOLD(self):
|
||||
|
||||
2
model.py
2
model.py
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user