-
Notifications
You must be signed in to change notification settings - Fork 444
Add ChatTTS download stats #734
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
Conversation
Thanks for the PR @NielsRogge! You can also add a code snippet by updating model-libraries-snippets.ts and importing it correctly in chat = ChatTTS.Chat()
chat.load_models(compile=False) # Set to True for better performance
# Define the text input for inference (Support Batching)
texts = [
"So we found being competitive and collaborative was a huge way of staying motivated towards our goals, so one person to call when you fall off, one person who gets you back on then one person to actually do the activity with.",
]
# Perform inference and play the generated audio
wavs = chat.infer(texts) (especially useful if you expect several repos to host ChatTTS models) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve, modulo the comment + the "should we add a snippet?" question.
Co-authored-by: Lucain <[email protected]>
…uggingface.js into feature/add_chattts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the opening this PR. I wasn't asked for a review, but reviewing it because Audio :)
Could you make sure to run the linter to pass the failing test?
This PR ensures download stats are working for https://huggingface.co/2Noise/ChatTTS.
To do:
library_name: chat_tts
in its metadata for this to work. Made a PR on the repo: https://huggingface.co/2Noise/ChatTTS/discussions/10