Skip to content

[ISSUE] 模型api调用问题 #224

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

Open
6 tasks done
BA-de-BA-jiao-shen-me opened this issue Apr 10, 2025 · 4 comments
Open
6 tasks done

[ISSUE] 模型api调用问题 #224

BA-de-BA-jiao-shen-me opened this issue Apr 10, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@BA-de-BA-jiao-shen-me
Copy link

BA-de-BA-jiao-shen-me commented Apr 10, 2025

确认清单

  • 我已经阅读过 README.md 和 dependencies.md 文件
  • 我已经确认之前没有 issue 或 discussion 涉及此 BUG
  • 我已经确认问题发生在最新代码或稳定版本中
  • 我已经确认问题与 API 无关
  • 我已经确认问题与 WebUI 无关
  • 我已经确认问题与 Finetune 无关

你的issues

python: 3.10.16 | torch: 2.3.1+cu121 ,已更新最新环境。一开始gradio生成的音频正常但是调api声音失真,最后发现原因是跟着api文档把encoder.format配置成mp3使用fish-speech生成音频时(chattts不受影响),声音会失真,改回raw声音恢复正常。chattts使用自己配置的音色会跳着生成,但使用音色仓库中时正常,仅会漏掉30s之外的字段。

@zhzLuke96 zhzLuke96 added the bug Something isn't working label Apr 10, 2025
zhzLuke96 added a commit that referenced this issue Apr 16, 2025
- 修复 ffmpeg 参数覆盖问题
@zhzLuke96
Copy link
Member

fixed e257af3

编码器传参问题

@zhzLuke96
Copy link
Member

漏掉30s之外的字段

你提到的漏字,不确定是哪的问题,有可能是模型导致的有可以复现的例子吗?

@BA-de-BA-jiao-shen-me
Copy link
Author

漏掉30s之外的字段

你提到的漏字,不确定是哪的问题,有可能是模型导致的有可以复现的例子吗?

我没有留下相关的文件,应该是chattts的问题

@BA-de-BA-jiao-shen-me
Copy link
Author

fixed e257af3

编码器传参问题

感谢,辛苦了

zhzLuke96 added a commit that referenced this issue Apr 17, 2025
- 修复 ffmpeg 参数覆盖问题
- 增加单测
- 增加 AudioHandler.get_sample_rate()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants