Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
|
@@ -260,7 +260,7 @@ class WhisperBase(ABC):
|
|
| 260 |
|
| 261 |
# Translate the trandscribed segments
|
| 262 |
#TranslateInstance = TranslationBaseClass()
|
| 263 |
-
test =
|
| 264 |
input_list_dict=transcribed_segments,
|
| 265 |
model_size="facebook/nllb-200-distilled-600M",
|
| 266 |
src_lang=file_language,
|
|
|
|
| 260 |
|
| 261 |
# Translate the trandscribed segments
|
| 262 |
#TranslateInstance = TranslationBaseClass()
|
| 263 |
+
test = self.translate_text(
|
| 264 |
input_list_dict=transcribed_segments,
|
| 265 |
model_size="facebook/nllb-200-distilled-600M",
|
| 266 |
src_lang=file_language,
|