chai51

Results 5 comments of chai51

When the **Voice** is set to **zf_xiaoyi** and the **Language** is set to **Chinese**, it is illustrated by the following two use cases: "该模型是经过短期训练的结果,从专业数据集中添加了 100 名中文使用者。" The synthesized pronunciation of...

> @chai51 So what your saying is that if the language is Chinese instead of loading the normal kokoro v1 model it loads kokoro v1.1. Some questions are: > >...

# 1.获取资源 ```bash sudo apt install espeak-ng git lfs install cd api/src/models git clone https://huggingface.co/hexgrad/Kokoro-82M-v1.1-zh mv Kokoro-82M-v1.1-zh v1_1-zh cp -r v1_1-zh/voices ../voices/v1_1-zh ``` 2.修改代码 ```api/src/core/config.py default_voice: str = "af_heart" ```...

将github原工程按照这个步骤来,首先这个**可能会导致你原有的环境不可用** # 1.获取资源 ```bash sudo apt install espeak-ng git lfs install cd api/src/models git clone https://huggingface.co/hexgrad/Kokoro-82M-v1.1-zh mv Kokoro-82M-v1.1-zh v1_1-zh cp -r v1_1-zh/voices ../voices/v1_1-zh pip uninstall kokoro pip install kokoro pip...

> [@chai51](https://github.com/chai51) 刚在玩这个,就看到你的提交了, 我cherry-pick 你的commit 后还需要做什么, 能否介绍一下直接拉代码之后要做哪些事情? > > 我用的mac ,尤其于某些原因不能使用docker,所以才用了direct run 的方式。 download_model.py 跑不了, 所以我手动下载1.0 模型 kokoro-v1_0.pth到了 Kokoro-FastAPI/api/src/models/v1_0 我没有装 sudo apt install espeak-ng, 因为我使用的是mac, 这个好像不是很必要,我不太清楚 espeak-ng你可以问下deepseek是什么作用,使用我的commit后,步骤1需要将huggingface上下载的资源放到对应的位置,步骤3的变量名改变了,具体可以看start-gpu.sh里面新增的注释。差不多就可以了,如果还有什么问题,参考上面步骤,适当的做调整,相信你一定没有问题的。