LAP-DEV commited on
Commit
8456026
·
verified ·
1 Parent(s): a079ad1

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +1 -1
modules/whisper/whisper_base.py CHANGED
@@ -260,7 +260,7 @@ class WhisperBase(ABC):
260
 
261
  # Translate the trandscribed segments
262
  #TranslateInstance = TranslationBaseClass()
263
- test = TranslationBase.translate_text(
264
  input_list_dict=transcribed_segments,
265
  model_size="facebook/nllb-200-distilled-600M",
266
  src_lang=file_language,
 
260
 
261
  # Translate the trandscribed segments
262
  #TranslateInstance = TranslationBaseClass()
263
+ test = self.translate_text(
264
  input_list_dict=transcribed_segments,
265
  model_size="facebook/nllb-200-distilled-600M",
266
  src_lang=file_language,