LAP-DEV commited on
Commit
685f85b
·
verified ·
1 Parent(s): a931cd1

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +1 -2
modules/whisper/whisper_base.py CHANGED
@@ -267,9 +267,8 @@ class WhisperBase(ABC):
267
  #)
268
  #files_info[file_name] = {"subtitle": subtitle, "time_for_task": time_for_task, "path": file_path, "lang": file_language, "lang_prob": file_lang_probs, "input_source_file": (file_name+file_ext)}
269
 
270
- # Translate the trandscribed segments
271
  if translate_output:
272
- print(transcribed_segments)
273
  self.nllb_inf = NLLBInference()
274
  transcribed_segments = self.nllb_inf.translate_text(
275
  input_list_dict=transcribed_segments,
 
267
  #)
268
  #files_info[file_name] = {"subtitle": subtitle, "time_for_task": time_for_task, "path": file_path, "lang": file_language, "lang_prob": file_lang_probs, "input_source_file": (file_name+file_ext)}
269
 
270
+ # Translate the transcribed segments
271
  if translate_output:
 
272
  self.nllb_inf = NLLBInference()
273
  transcribed_segments = self.nllb_inf.translate_text(
274
  input_list_dict=transcribed_segments,