Merge pull request #116 from needabetterusername/solve-115
Solve #115: VAC Broken import
This commit is contained in:
commit
09279c572a
2 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ class VACOnlineASRProcessor:
|
|||
# Load a VAD model (e.g. Silero VAD)
|
||||
import torch
|
||||
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.logfile = self.online.logfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue