Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -245,7 +245,6 @@ class WhisperBase(ABC):
|
|
245 |
translate_model: str = "",
|
246 |
target_lang: str = "",
|
247 |
add_timestamp_preview: bool = False,
|
248 |
-
diarize_speakers: bool = False,
|
249 |
progress=gr.Progress(),
|
250 |
*whisper_params,
|
251 |
) -> list:
|
@@ -277,8 +276,6 @@ class WhisperBase(ABC):
|
|
277 |
Target language to use
|
278 |
add_timestamp_preview: bool
|
279 |
Boolean value from gr.Checkbox() that determines whether to add a timestamp to output preview
|
280 |
-
diarize_speakers: bool
|
281 |
-
Boolean value from gr.Checkbox() that determines whether to diarize speakers
|
282 |
progress: gr.Progress
|
283 |
Indicator to show progress directly in gradio.
|
284 |
*whisper_params: tuple
|
|
|
245 |
translate_model: str = "",
|
246 |
target_lang: str = "",
|
247 |
add_timestamp_preview: bool = False,
|
|
|
248 |
progress=gr.Progress(),
|
249 |
*whisper_params,
|
250 |
) -> list:
|
|
|
276 |
Target language to use
|
277 |
add_timestamp_preview: bool
|
278 |
Boolean value from gr.Checkbox() that determines whether to add a timestamp to output preview
|
|
|
|
|
279 |
progress: gr.Progress
|
280 |
Indicator to show progress directly in gradio.
|
281 |
*whisper_params: tuple
|