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

Fix TypeError: non-default argument 'template' follows default argument, and filter out audio #69

Merged
merged 10 commits into from
Aug 7, 2024

Conversation

liPatrick
Copy link
Contributor

@liPatrick liPatrick commented Aug 5, 2024

  1. Fixes TypeError: non-default argument 'template' follows default argument
  2. Filters out audio before passed into jinja template to prevent memory spikes when using ds_tool.py

ultravox/tools/ds_tool/ds_tool.py Outdated Show resolved Hide resolved
ultravox/tools/ds_tool/ds_tool.py Show resolved Hide resolved
@zqhuang211 zqhuang211 self-requested a review August 7, 2024 06:51
ultravox/tools/ds_tool/continuation.jinja Outdated Show resolved Hide resolved
ultravox/tools/ds_tool/ds_tool.py Outdated Show resolved Hide resolved
ultravox/tools/ds_tool/ds_tool.py Show resolved Hide resolved
ultravox/tools/ds_tool/ds_tool.py Show resolved Hide resolved
@farzadab
Copy link
Contributor

farzadab commented Aug 7, 2024

Thanks for the fixes btw Pat.

@liPatrick liPatrick changed the title Fix TypeError: non-default argument 'template' follows default argument Fix TypeError: non-default argument 'template' follows default argument, and filter out audio Aug 7, 2024
@liPatrick liPatrick merged commit 2e3a49e into main Aug 7, 2024
1 check passed
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.

4 participants