Skip to content
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

Xinference use chattts BUG #2570

Open
1 of 3 tasks
NieSf opened this issue Nov 21, 2024 · 1 comment
Open
1 of 3 tasks

Xinference use chattts BUG #2570

NieSf opened this issue Nov 21, 2024 · 1 comment
Milestone

Comments

@NieSf
Copy link

NieSf commented Nov 21, 2024

System Info / 系統信息

curl -X 'POST'
'http://192.168.100.251:9997/v1/audio/speech'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"model": "ChatTTS",
"input": "你好",
"voice": "Echo",
"response_format":"wav"
}'

By using WAV format, speech can be generated very successfully. But if the request format is changed to mp3, only the following garbled code will be obtained:
ID3#TSSELavf60.16.100ÿ俉nfoLavf

Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?

  • docker / docker
  • pip install / 通过 pip install 安装
  • installation from source / 从源码安装

Version info / 版本信息

xinference, version 0.16.2

The command used to start Xinference / 用以启动 xinference 的命令

xinference-local --host 192.168.100.251 --port 9997 --log-level debug

Reproduction / 复现过程

curl -X 'POST'
'http://192.168.100.251:9997/v1/audio/speech'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"model": "ChatTTS",
"input": "你好",
"voice": "Echo",
"response_format":"mp3"
}'

Expected behavior / 期待表现

This problem has been bothering me for a long time, and I hope some friends can give me some help

@XprobeBot XprobeBot added this to the v0.16 milestone Nov 21, 2024
@NieSf
Copy link
Author

NieSf commented Nov 23, 2024

When requesting MP3 format, the correct response cannot be obtained. In this case, xinference debug mode does not output any errors
111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants