LAP-DEV commited on
Commit
e1c1dbb
·
verified ·
1 Parent(s): 4aa7629

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
@@ -282,7 +282,7 @@ class WhisperBase(ABC):
282
  tgt_lang=target_lang,
283
  speaker_diarization=params.is_diarize
284
  )
285
- translation_note = source_lang + " to " + target_lang + " (using Facebook NLLB)"
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: