Merge branch 'main' of https://github.com/QuentinFuxa/whisper_streaming_web
This commit is contained in:
commit
d94560ef37
2 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ class VACOnlineASRProcessor:
|
||||||
# Load a VAD model (e.g. Silero VAD)
|
# Load a VAD model (e.g. Silero VAD)
|
||||||
import torch
|
import torch
|
||||||
model, _ = torch.hub.load(repo_or_dir="snakers4/silero-vad", model="silero_vad")
|
model, _ = torch.hub.load(repo_or_dir="snakers4/silero-vad", model="silero_vad")
|
||||||
from silero_vad_iterator import FixedVADIterator
|
from .silero_vad_iterator import FixedVADIterator
|
||||||
|
|
||||||
self.vac = FixedVADIterator(model)
|
self.vac = FixedVADIterator(model)
|
||||||
self.logfile = self.online.logfile
|
self.logfile = self.online.logfile
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue