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

本地部署的语音模型接入报422错误,直接curl语音服务是正常的 #1882

Open
5 tasks done
eric0095 opened this issue Oct 17, 2024 · 1 comment
Open
5 tasks done
Labels
bug Something isn't working

Comments

@eric0095
Copy link

eric0095 commented Oct 17, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
本地cpu跑的SenseVoiceSmall,本地测试curl很快也都是对的,但是接了oneapi之后,报422错误,用的oneapi最新的v0.6.9-alpha.2版本

curl [http://省略ip:8000/v1/audio/transcriptions](http://xn--ip-9j7ex0d:8000/v1/audio/transcriptions%5C)
-H "Content-Type: multipart/form-data"
-H "Authorization: Bearer sk-fastgpt"
-F [email protected]
-F model=whisper-1
{"texta":"大雾四季模糊了眼睛看不清了你看不清你藏在梦里了情绪四恍惚曾经雾"}

curl http://1省略ip:3001/v1/audio/transcriptions -H "Content-Type: multipart/form-data" -H "Authorization: Bearer sk-fastgpt" -F [email protected] -F model=whisper-1
{"error":{"message":"bad response status code 422 (request id: 2024101717470271221600298875016)","type":"upstream_error","param":"422","code":"bad_response_status_code"}

复现步骤
我测试用了代理openai的whisper-1模型,也都是报错

预期结果
两个curl应该是一致的

@eric0095 eric0095 added the bug Something isn't working label Oct 17, 2024
@eric0095
Copy link
Author

摇下作者@songquanpeng,语音模型的支持再优化下吧,感谢啦

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

1 participant