baicai-1145
6a822b28c3
Enhance TTS API with improved request handling and asynchronous processing
...
Refactor api_v2.py and api_v3.py to update sampling parameters and weight paths for better clarity and support for v3/v4 vocoders. Introduce new methods in PrepareCoordinator for handling empty text features and improve profiling capabilities. Additionally, update unified engine components to streamline audio processing and state management, enhancing overall performance and maintainability of the TTS system.
2026-03-12 01:27:19 +08:00
baicai-1145
6a427b4f54
Update TTS API to support asynchronous execution by replacing synchronous TTS calls with asynchronous counterparts in both api_v2.py and api_v3.py. Introduce new data classes in unified_engine.py for enhanced request handling and state management, improving overall system performance and maintainability.
2026-03-10 21:25:14 +08:00
baicai-1145
d1a97fd04d
Refactor TTS API to streamline audio processing by removing unused packing functions and optimizing the tts_handle method for asynchronous execution. Update type hints and clean up imports for improved code clarity and maintainability.
2026-03-10 20:46:14 +08:00
baicai-1145
69ac7f9027
Integrate UnifiedTTSEngine into TTS API for improved audio processing and control. Refactor tts_handle and control endpoints to utilize the new engine, enhancing error handling and response management. Update set_refer_audio and set_gpt_weights endpoints to return payloads from the engine, streamlining audio configuration processes.
2026-03-10 06:59:28 +08:00
ChasonJiang
abe984395c
对齐gpt topk默认采样参数 ( #2696 )
2025-12-19 16:05:36 +08:00
ChasonJiang
6fb441f65e
更友好的流模式选项 ( #2678 )
2025-11-28 22:13:48 +08:00
ChasonJiang
92ab59c553
更细粒度的流式推理模式 ( #2671 )
...
* 更好的流式推理模式
* 清理无用代码
* modified: GPT_SoVITS/AR/models/t2s_model.py
modified: GPT_SoVITS/TTS_infer_pack/TTS.py
modified: GPT_SoVITS/module/models.py
* modified: GPT_SoVITS/TTS_infer_pack/TTS.py
* modified: .gitignore
modified: GPT_SoVITS/AR/models/t2s_model.py
modified: GPT_SoVITS/TTS_infer_pack/TTS.py
modified: GPT_SoVITS/module/models.py
* modified: GPT_SoVITS/AR/models/t2s_model.py
modified: GPT_SoVITS/TTS_infer_pack/TTS.py
modified: GPT_SoVITS/module/models.py
modified: api_v2.py
* modified: GPT_SoVITS/TTS_infer_pack/TTS.py
* 更正拼写错误
* 支持固定chunk长度的流式推理,优化sola算法
* 修复api_v2的ogg格式传输问题
2025-11-28 21:12:41 +08:00
Ella Zhang
4987df5a71
fixed syntax errors in api_v2.py ( #2473 )
2025-06-19 15:34:11 +08:00
XXXXRT666
53cac93589
Refactor: Format Code with Ruff and Update Deprecated G2PW Link ( #2255 )
...
* ruff check --fix
* ruff format --line-length 120 --target-version py39
* Change the link for G2PW Model
* update pytorch version and colab
2025-04-07 16:42:47 +08:00
ChasonJiang
7394dc7b0c
为api_v2和inference_webui_fast适配V3版本 ( #2188 )
...
* modified: GPT_SoVITS/TTS_infer_pack/TTS.py
modified: GPT_SoVITS/TTS_infer_pack/TextPreprocessor.py
modified: GPT_SoVITS/inference_webui_fast.py
* 适配V3版本
* api_v2.py和inference_webui_fast.py的v3适配
* 修改了个远古bug,增加了更友好的提示信息
* 优化webui
* 修改为正确的path
* 修复v3 lora模型的载入问题
* 修复读取tts_infer.yaml文件时遇到的编码不匹配的问题
2025-03-26 14:34:51 +08:00
YSC-hain
5d126f98b2
修复 无法监听双栈 ( #1621 )
...
在调用时使用 -a None 参数,可以让 api 监听双栈
2024-10-18 11:40:44 +08:00
ChasonJiang
f35f6e9b5e
优化tts_config代码逻辑 ( #1538 )
...
* 优化tts_config
* fix
* 优化报错提示
* 优化报错提示
2024-08-29 00:33:07 +08:00
ChasonJiang
2a9512a63e
修改文档 ( #1521 )
2024-08-23 17:43:40 +08:00
ChasonJiang
52c50c6c81
All in one! 合并main分支和fast_inference_分支 ( #1490 )
...
* 合并main分支和fast_inference_分支
* 修复一些bug
2024-08-20 22:19:04 +08:00