Skip to content

Commit e9cf94b

Browse files
committed
Update model.py
1 parent c9aba96 commit e9cf94b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pywhispercpp/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ def _init_model(self) -> None:
228228
logger.info("Initializing the model ...")
229229
with utils.redirect_stderr(to=self.redirect_whispercpp_logs_to):
230230
self._ctx = pw.whisper_init_from_file(self.model_path)
231-
# Don't set the params to the default ones here, as it will overwrite the user's params
232-
# self._params = pw.whisper_full_default_params(pw.whisper_sampling_strategy.WHISPER_SAMPLING_GREEDY)
233231

234232
def _set_params(self, kwargs: dict) -> None:
235233
"""

0 commit comments

Comments
 (0)