diff --git a/src/dailyai/transports/threaded_transport.py b/src/dailyai/transports/threaded_transport.py index 037ba8f10..9b2530efd 100644 --- a/src/dailyai/transports/threaded_transport.py +++ b/src/dailyai/transports/threaded_transport.py @@ -81,12 +81,13 @@ def __init__( except ModuleNotFoundError as e: if self._has_webrtc_vad: - self._logger.debug(f"Couldn't load torch; using webrtc VAD") + self._logger.debug( + f"Couldn't load torch; using webrtc VAD") self._vad_samples = int(self._speaker_sample_rate / 100.0) else: self._logger.error(f"Exception: {e}") self._logger.error( - "In order to use VAD, you'll need to install the `torch` and `torchaudio` modules.") + "In order to use Silero VAD, you'll need to `pip install dailyai[silero].") raise Exception(f"Missing module(s): {e}") vad_frame_s = self._vad_samples / self._speaker_sample_rate