Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
|
@@ -260,10 +260,10 @@ class WhisperBase(ABC):
|
|
| 260 |
|
| 261 |
# Translate the trandscribed segments
|
| 262 |
test = TranslationBase.translate_file(
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
)
|
| 268 |
print(test)
|
| 269 |
|
|
|
|
| 260 |
|
| 261 |
# Translate the trandscribed segments
|
| 262 |
test = TranslationBase.translate_file(
|
| 263 |
+
input_list_dict=transcribed_segments,
|
| 264 |
+
model_size="facebook/nllb-200-distilled-600M",
|
| 265 |
+
src_lang=file_language,
|
| 266 |
+
tgt_lang="Dutch"
|
| 267 |
)
|
| 268 |
print(test)
|
| 269 |
|