-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[Bug] bark not working #4116
Comments
Use our fork instead (via |
thanks, I tried to do but now I get the error:
Check the documentation of torch.load to learn more about types accepted by default with weights_only https://pytorch.org/docs/stable/generated/torch.load.html.` |
Thanks, I'll look into it. In the meantime, you can downgrade your Pytorch version to 2.3 or lower and it should probably work because it uses |
It works fine for me. Could you list the versions of installed dependencies ( |
Describe the bug
the bark model seems not work (the other models works fine)
this is an example of code
tts --text "Text for TTS" --model_name "tts_models/multilingual/multi-dataset/bark" --out_path output/path/speech.wav
To Reproduce
just use this code:
tts --text "Text for TTS" --model_name "tts_models/multilingual/multi-dataset/bark" --out_path output/path/speech.wav
or this one
`from TTS.api import TTS
tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=True)
tts.tts_to_file(text="Hello, my name is Manmay , how are you?",
file_path="output.wav",
voice_dir="bark_voices/",
speaker="ljspeech")
tts.tts_to_file(text="Hello, my name is Manmay , how are you?",
file_path="output.wav",
voice_dir="bark_voices/",
speaker="ljspeech")
tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=True)
tts.tts_to_file("hello world", file_path="out.wav")
`
Expected behavior
that i not get error and i get the audio file
Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: