Update modules/whisper/whisper_base.py
Browse files
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,
|