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

fixed not loading audiocraft examples, and added voicecraft dockerfile #498

Merged
merged 1 commit into from
May 2, 2024

Conversation

martincerven
Copy link
Contributor

Fixed "Failed to load audio" RuntimeError. - it was probably combination of two things:

  1. old libsndfile that doesn't play mp3
  2. didn't use the e flag
  • normally pip install . installs into /dist-packages/<package>
  • e enables editable mode where it only symlinks it into /dist-packages/ and audiocraft repo uses it with relative paths to get assets and other scripts/programs, that's where it breaks loading of files

Added VoiceCraft container

  1. It is SOTA Voice editing/ TTS
  2. In the repo they use conda, but after checking the issues it is not really needed:
  • the packages they use with conda are for alignment which whisperx does too

I put gradio_app.py in the CMD instruction, since otherwise the jupyter from previous layer/package would run, it runs 0.0.0.0:7860 at start.

@dusty-nv dusty-nv changed the base branch from master to dev May 2, 2024 02:25
@dusty-nv dusty-nv merged commit d210f29 into dusty-nv:dev May 2, 2024
@dusty-nv
Copy link
Owner

dusty-nv commented May 2, 2024

Thanks @martincerven! Built this and pushed dustynv/voicecraft:r36.2.0, and added voicecraft to jetson-containers main readme under the Audio category, and provided you attribution in the voicecraft readme.

Also rebuilt dustynv/audiocraft:r36.2.0 with your fixes - thanks for digging into that 👍

If you'd like to be listed on the research group members page, send me your desired photo/avatar, and I'll get you up there!

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.

None yet

2 participants