LAP-DEV commited on
Commit
081e272
·
verified ·
1 Parent(s): bd0cf08

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +0 -1
modules/whisper/whisper_base.py CHANGED
@@ -273,7 +273,6 @@ class WhisperBase(ABC):
273
  translation_note = ""
274
  if translate_output:
275
  self.nllb_inf = NLLBInference()
276
- file_language = "Arabic"
277
  if file_language in NLLB_AVAILABLE_LANGS.keys():
278
  transcribed_segments = self.nllb_inf.translate_text(
279
  input_list_dict=transcribed_segments,
 
273
  translation_note = ""
274
  if translate_output:
275
  self.nllb_inf = NLLBInference()
 
276
  if file_language in NLLB_AVAILABLE_LANGS.keys():
277
  transcribed_segments = self.nllb_inf.translate_text(
278
  input_list_dict=transcribed_segments,