Closed tsiens closed 2 months ago
Do you have the error stack on the server side?
Do you have the error stack on the server side?
No output at all
@codingl2k1 Please take look at this issue.
@codingl2k1 Please take look at this issue.
OK
Please try this curl:
curl -X 'POST' \
'http://127.0.0.1:9997/v1/audio/speech' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"model": "CosyVoice-300M-SFT",
"input": "你好",
"voice": "中文女"
}'
If you want to make a request with binary voice, it should be in the form of a request. Please refer to the Xinference client: https://github.com/xorbitsai/inference/blob/main/xinference/client/restful/restful_client.py#L764
stream参数去除即可
System Info / 系統信息
cuda12.1
Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?
Version info / 版本信息
0.13.3
The command used to start Xinference / 用以启动 xinference 的命令
docker
Reproduction / 复现过程
Xinference python success but curl error
Expected behavior / 期待表现
return result as