fixed VADIterator
This commit is contained in:
parent
e25ad4fcd7
commit
2de090023c
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ class VACOnlineASRProcessor(OnlineASRProcessor):
|
||||||
repo_or_dir='snakers4/silero-vad',
|
repo_or_dir='snakers4/silero-vad',
|
||||||
model='silero_vad'
|
model='silero_vad'
|
||||||
)
|
)
|
||||||
from silero_vad import VADIterator
|
from silero_vad import FixedVADIterator
|
||||||
self.vac = FixedVADIterator(model) # we use all the default options: 500ms silence, etc.
|
self.vac = FixedVADIterator(model) # we use all the default options: 500ms silence, etc.
|
||||||
|
|
||||||
self.logfile = self.online.logfile
|
self.logfile = self.online.logfile
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue