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

Add optional dependencies and make backend optional #67

Merged
merged 5 commits into from
Oct 13, 2023

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Oct 12, 2023

Move default mic and backend client dependencies to extras
Add extra dependency note to README.md
Make backend imports optional with logging around upload calls
Closes #13
Closes #52

Add extra dependency note to `README.md`
Make backend imports optional with logging around upload calls
@NeonDaniel NeonDaniel requested review from goldyfruit, JarbasAl and a team October 12, 2023 01:07
@NeonDaniel NeonDaniel marked this pull request as ready for review October 12, 2023 22:25
requirements/extras.txt Outdated Show resolved Hide resolved
ovos-microphone-plugin-alsa~=0.0.0
ovos-stt-plugin-server~=0.0.3
ovos-ww-plugin-precise-lite[full]~=0.1
ovos-vad-plugin-webrtcvad~=0.0.1
Copy link
Member

@JarbasAl JarbasAl Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to make this one optional too, pending a new plugin based on noise threshold only like original listener

If we are adding an extra with new deps, it should be silero instead, if it's an extra it's fine

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled the default from ovos-config default configuration; I don't have a strong preference between the 2 plugins but I think the extras should make things work without extra config

Copy link
Member

@goldyfruit goldyfruit Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

silero requires onnxruntime or tflite-runtime (don't remember which one), webrtcvad would be more simple to install.

@JarbasAl JarbasAl merged commit fa19398 into dev Oct 13, 2023
9 checks passed
@JarbasAl JarbasAl deleted the FEAT_OptionalBackendClient branch October 13, 2023 01:02
NeonDaniel added a commit to NeonGeckoCom/neon_speech that referenced this pull request Oct 13, 2023
# Description
Update dependencies for compat. with
OpenVoiceOS/ovos-dinkum-listener#67

# Issues
Needs OpenVoiceOS/ovos-dinkum-listener#67

# Other Notes
<!-- Note any breaking changes, WIP changes, requests for input, etc.
here -->

---------

Co-authored-by: Daniel McKnight <daniel@neon.ai>
JarbasAl pushed a commit that referenced this pull request Nov 24, 2023
Co-authored-by: Daniel McKnight <daniel@neon.ai>
@github-actions github-actions bot mentioned this pull request Sep 2, 2024
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.

ovos-microphone-plugin-alsa requirement fails on Mac OS Missing requirements
3 participants