Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
chadbailey59 committed Apr 3, 2024
1 parent 02c5328 commit a531044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dailyai/transports/threaded_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def __init__(
raise Exception(
"Sorry, you can't use speaker_enabled and vad_enabled at the same time. Please set one to False."
)
self._vad_samples = 1536

if self._vad_enabled:
try:
Expand All @@ -78,7 +79,6 @@ def __init__(
repo_or_dir="snakers4/silero-vad", model="silero_vad", force_reload=False
)
print(f"!!! Loaded Silero VAD")
self._vad_samples = 1536

except ModuleNotFoundError as e:
if self._has_webrtc_vad:
Expand Down

0 comments on commit a531044

Please sign in to comment.