LAP-DEV commited on
Commit
727963e
·
verified ·
1 Parent(s): 28d5ee4

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +3 -0
modules/whisper/whisper_base.py CHANGED
@@ -214,6 +214,7 @@ class WhisperBase(ABC):
214
  translate_output: bool = False,
215
  translate_model: str = "",
216
  target_lang: str = "",
 
217
  progress=gr.Progress(),
218
  *whisper_params,
219
  ) -> list:
@@ -237,6 +238,8 @@ class WhisperBase(ABC):
237
  Translation model to use
238
  target_lang: str
239
  Target language to use
 
 
240
  progress: gr.Progress
241
  Indicator to show progress directly in gradio.
242
  *whisper_params: tuple
 
214
  translate_output: bool = False,
215
  translate_model: str = "",
216
  target_lang: str = "",
217
+ preview_format: str = "",
218
  progress=gr.Progress(),
219
  *whisper_params,
220
  ) -> list:
 
238
  Translation model to use
239
  target_lang: str
240
  Target language to use
241
+ preview_format: str
242
+ Preview format to use
243
  progress: gr.Progress
244
  Indicator to show progress directly in gradio.
245
  *whisper_params: tuple