Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -260,7 +260,8 @@ class WhisperBase(ABC):
|
|
260 |
|
261 |
|
262 |
# Translate the trandscribed segments
|
263 |
-
test = TranslationBase.translate_text(transcribed_segments,"facebook/nllb-200-distilled-600M","English","Dutch")
|
|
|
264 |
|
265 |
## Get preview as txt
|
266 |
file_name, file_ext = os.path.splitext(os.path.basename(file))
|
|
|
260 |
|
261 |
|
262 |
# Translate the trandscribed segments
|
263 |
+
test = TranslationBase.translate_text(transcribed_segments,"facebook/nllb-200-distilled-600M","English","Dutch")
|
264 |
+
print(test)
|
265 |
|
266 |
## Get preview as txt
|
267 |
file_name, file_ext = os.path.splitext(os.path.basename(file))
|