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

Tweak VoiceCraft x HF integration #90

Merged
merged 3 commits into from
Apr 16, 2024
Merged

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Apr 15, 2024

This PR tweaks the HF integrations:

  • VoiceCraft tag is lowercased to voicecraft => not a hard requirement but makes it more consistent with other libraries on the Hub.
  • voicecraft is set as the library_name instead of simply a tag. This is better for taxonomy on the Hub.
  • Text-to-Speech is lowercased to be recognized as a task by the HF Hub
  • VoiceCraftHF class has been removed to have a single VoiceCraft. Requires a small update at init (see e550f61) but it'll make the process much smoother for end users. With this change, it'll be possible for users to retrain a VoiceCraft object and push it to the Hub with VoiceCraft(...).push_to_hub(...) which was not the case before.

Regarding the integration, I also opened huggingface/huggingface.js#626 to make it more official on the Hub. In particular, there will now be an official </> Use in VoiceCraft button in all voicecraft models that display the code snippet to load the model. This should help users getting started with the model. It will also add a link to the voicecraft repo for the installation guide.

cc @NielsRogge who opened #78

EDIT: I also opened PR on existing models to reflect these changes.

This PR tweaks the HF integrations:
- `VoiceCraft` tag is lowercased to `voicecraft` => not a hard requirement but makes it more consistent with other libraries on the Hub.
- `voicecraft` is set as the `library_name` instead of simply a tag. This is better for taxonomy on the Hub.

Regarding the integration, I also opened huggingface/huggingface.js#626 to make it more official on the Hub. In particular, there will now be an official `</> Use in VoiceCraft`  button in all voicecraft models that display the code snippet to load the model. This should help users getting started with the model. It will also add a link to the voicecraft repo for the installation guide.

cc @NielsRogge who opened jasonppy#78
models/voicecraft.py Outdated Show resolved Hide resolved
Co-authored-by: Julien Chaumond <[email protected]>
@jasonppy jasonppy merged commit e550f61 into jasonppy:master Apr 16, 2024
Wauplin added a commit to huggingface/huggingface.js that referenced this pull request Apr 16, 2024
Related to #626. See
#626 (comment)
for more context.

This PR update the voicecraft code snippet to switch from `VoiceCraftHF`
class to `VoiceCraft`. PR jasonppy/VoiceCraft#90
must be merged to make this snippet work.
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.

3 participants