-
Notifications
You must be signed in to change notification settings - Fork 82
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
When using the API to read Chinese, the return is nonetype #64
Comments
The error seems to indicate that the tokenizer is missing, so perhaps you missed a file? Secondly, why are you manually downloading the models? They can auto download as needed. Maybe you have a good reason, I know downloads from huggingface can be blocked in some area. Without a good reason though, you're just making things harder. |
for xtts, the folder path should be like this: openedai-speech/voices/tts$ ls tts_models--multilingual--multi-dataset--xtts/
config.json vocab.json hash.md5 model.pth speakers_xtts.pth |
Thank you very much for your reply, as I am unable to access
But it didn't work, for some reason, my other programs can work this way. In the end, there was no other way but to manually download the model. I also tried using |
I did indeed not download all the files. I only downloaded Simultaneously, I have also added two questions:
Thank you very much for your reply! |
I'll look into why HF_ENDPOINT=https://hf-mirror.com doesn't work and see if I can fix it. |
without setting a version, 'xtts' will use the latest version, which is xtts_v2.0.2.
the folder I mentioned at the beginning, sorry I'm on mobile, I can be more detailed if needed. |
Your explanation has helped me a lot, thank you very much! After I put all the files into
Additionally, for some reason, Thank you very much for your reply! |
I reinstall the For some reason, Loading model xtts to cuda is very slow, taking about 5 minutes. |
Try the dev branch, which supports multilingual at the request level. is it a desirable feature to support multilingual at the sentence level? |
re: 5 minutes wait, that is odd, which GPU? models are loaded on demand by default. |
老乡,可以麻烦您,帮忙指导一下具体怎么操作嘛?我也是用open webui然后用这个项目转换语音的,但是,根据官方部署,一直弄不了,可以看我一下我的问题。 麻烦了。https://github.com/matatonic/openedai-speech/issues/66 |
Hello, I very appreciate your work. I have deployed it using Ubuntu and tried to read Chinese.
I downloaded
zh_CN-huayan-medium.onnx
andzh_CN-huayan-x_low.onnx
from https://hf-mirror.com/rhasspy/piper-voices/tree/main/zh/zh_CN/huayan/medium and https://hf-mirror.com/rhasspy/piper-voices/tree/main/zh/zh_CN/huayan/x_low, and placed them in thevoices
folder.I downloaded
config.json
andmodel.pth
from https://hf-mirror.com/coqui/XTTS-v2/tree/main and placed them in the.local\share\tts\tts_models--multilingual--multi-dataset--xtts folder
.After running
python speech.py
, the following error occurred, and I suspect it is because the text to be read has not been inputed.Could you kindly help me, thank you!
The text was updated successfully, but these errors were encountered: