Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize tricky dependencies #95

Merged
merged 5 commits into from
Apr 3, 2024
Merged

Modularize tricky dependencies #95

merged 5 commits into from
Apr 3, 2024

Conversation

chadbailey59
Copy link
Contributor

This PR removes the forced dependencies on torch, torchaudio, and pyaudio. If you try to use VAD by setting vad_enabled=True on a DailyTransport, you'll get an error indicating you need to pip install torch and torchaudio yourself. Likewise, if you try to use the local transport, you'll need to pip install pyaudio and deal with any platform-specific dependencies there too.

Note: The local examples are actually broken right now; I'll have to fix that later.

@aconchillo
Copy link
Contributor

aconchillo commented Apr 3, 2024

LGTM! It would be nice to do the same for DailyTransport and log a message saying daily-python is needed.

@chadbailey59 chadbailey59 merged commit 2f59e38 into main Apr 3, 2024
2 checks passed
@chadbailey59 chadbailey59 deleted the cb/modularize branch April 3, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants