Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR tweaks the HF integrations:
VoiceCraft
tag is lowercased tovoicecraft
=> not a hard requirement but makes it more consistent with other libraries on the Hub.voicecraft
is set as thelibrary_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 HubVoiceCraftHF
class has been removed to have a singleVoiceCraft
. 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 aVoiceCraft
object and push it to the Hub withVoiceCraft(...).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.