Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -197,11 +197,6 @@ class WhisperBase(ABC):
|
|
197 |
)
|
198 |
if bool_diarization_enable_offload:
|
199 |
self.diarizer.offload()
|
200 |
-
|
201 |
-
# self.cache_parameters(
|
202 |
-
# whisper_params=params,
|
203 |
-
# add_timestamp=add_timestamp
|
204 |
-
# )
|
205 |
|
206 |
if not result:
|
207 |
print(f"Whisper did not detected any speech segments in the audio.")
|
|
|
197 |
)
|
198 |
if bool_diarization_enable_offload:
|
199 |
self.diarizer.offload()
|
|
|
|
|
|
|
|
|
|
|
200 |
|
201 |
if not result:
|
202 |
print(f"Whisper did not detected any speech segments in the audio.")
|