Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -180,8 +180,8 @@ class WhisperBase(ABC):
|
|
180 |
file_format: str = "SRT",
|
181 |
add_timestamp: bool = True,
|
182 |
translate_output: bool = False,
|
183 |
-
|
184 |
-
|
185 |
progress=gr.Progress(),
|
186 |
*whisper_params,
|
187 |
) -> list:
|
|
|
180 |
file_format: str = "SRT",
|
181 |
add_timestamp: bool = True,
|
182 |
translate_output: bool = False,
|
183 |
+
translate_model: str = "",
|
184 |
+
target_lang: str = "",
|
185 |
progress=gr.Progress(),
|
186 |
*whisper_params,
|
187 |
) -> list:
|