-
Notifications
You must be signed in to change notification settings - Fork 13
docs: 添加 Piper TTS 安装指南 AND docs: 添加 Fire Red ASR 模型使用教程 #22
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
base: main
Are you sure you want to change the base?
Conversation
Summary of ChangesHello @zyumo777, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 此拉取请求旨在通过引入 Piper TTS 的全面文档来增强项目的文本转语音(TTS)功能。它为用户提供了关于如何安装、配置和使用 Piper TTS 的详细指导,该系统以其本地化、快速和多语言支持而闻名。这些更改将使用户能够更轻松地集成和利用 Piper TTS,从而改善整体用户体验。 Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
本次 PR 添加了 Piper TTS 的完整安装指南,内容清晰,结构合理。我对文档中的一些细节提出了一些改进建议,旨在让用户能更轻松地完成配置,避免潜在的困惑。主要包括:明确自动下载模型方式的缺点、为 GPU 配置提供更清晰的指引,以及在示例配置中增加更多上下文信息。
| - 方式一:手动下载 | ||
| - 中文模型:[https://huggingface.co/csukuangfj/vits-piper-zh_CN-huayan-medium/tree/main](https://huggingface.co/csukuangfj/vits-piper-zh_CN-huayan-medium/tree/main) | ||
| - 其他模型:在 [Hugging Face](https://huggingface.co/models) 搜索 "piper" 或自行训练 | ||
| - 方式二:使用命令自动下载(不推荐) |
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.
| 3. 在 `conf.yaml` 中配置: | ||
| ```yaml | ||
| piper_tts: | ||
| model_path: "models/piper/zh_CN-huayan-medium.onnx" # ONNX 模型文件路径 |
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.
示例配置中的模型路径硬编码为中文模型 zh_CN-huayan-medium.onnx。为了方便使用其他语言(如文档前面推荐的英文或日文模型)的用户,建议在注释中提供一个其他语言模型的路径作为示例,或使用更通用的占位符。这可以避免用户直接复制粘贴配置后,因模型语言不匹配而产生困惑。
| model_path: "models/piper/zh_CN-huayan-medium.onnx" # ONNX 模型文件路径 | |
| model_path: "models/piper/zh_CN-huayan-medium.onnx" # ONNX 模型文件路径(例如,英文为 "models/piper/en_US-lessac-medium.onnx") |
| noise_w: 0.8 # 说话风格变化程度(0.0-1.0) | ||
| volume: 1.0 # 音量(0.0-1.0) | ||
| normalize_audio: true # 是否标准化音频 | ||
| use_cuda: false # 是否使用 GPU 加速(需要 CUDA 支持) |
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.
更改说明
更改内容
追加的更新
新增 Fire Red ASR 模型使用教程