Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -282,7 +282,7 @@ class WhisperBase(ABC):
|
|
282 |
tgt_lang=target_lang,
|
283 |
speaker_diarization=params.is_diarize
|
284 |
)
|
285 |
-
translation_note =
|
286 |
else:
|
287 |
translation_note = source_lang + " not supported (using Facebook NLLB)"
|
288 |
else:
|
|
|
282 |
tgt_lang=target_lang,
|
283 |
speaker_diarization=params.is_diarize
|
284 |
)
|
285 |
+
translation_note = "To " + target_lang + " (using Facebook NLLB)"
|
286 |
else:
|
287 |
translation_note = source_lang + " not supported (using Facebook NLLB)"
|
288 |
else:
|