Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
|
@@ -260,7 +260,7 @@ class WhisperBase(ABC):
|
|
| 260 |
|
| 261 |
|
| 262 |
# Translate the trandscribed segments
|
| 263 |
-
test = TranslationBase.translate_text(transcribed_segments,"facebook/nllb-200-distilled-600M",
|
| 264 |
print(test)
|
| 265 |
|
| 266 |
## Get preview as txt
|
|
|
|
| 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
|