whispercpp.py icon indicating copy to clipboard operation
whispercpp.py copied to clipboard

Set params?

Open chrisspen opened this issue 1 year ago • 2 comments

How do you access and set the various parameters passed to Whisper? I see the params structure in the Whisper class, but it appears to be private and not externally accessible.

>>> from whispercpp import Whisper
>>> w = Whisper('large')
>>> w.params.processors = 4
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'whispercpp.Whisper' object has no attribute 'params'

chrisspen avatar Nov 05 '23 21:11 chrisspen