-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Routine Checks
- I have confirmed there are no similar issues currently
- I have confirmed I have upgraded to the latest version
- I have thoroughly read the project README, especially the FAQ section
- I understand and am willing to follow up on this issue, assist with testing and provide feedback
- I understand and acknowledge the above, and understand that project maintainers have limited time and energy, issues that do not follow the rules may be ignored or closed directly
Issue Description
用的OpenAI的官方例子:
curl --request POST
--url https://api.openai.com/v1/audio/translations
--header "Authorization: Bearer $OPENAI_API_KEY"
--header 'Content-Type: multipart/form-data'
--form file=@/path/to/file/german.mp3
--form model=whisper-1 \
报错:
error parsing multipart form: multipart: NextPart: EOF
Steps to Reproduce
curl --request POST
--url https://api.openai.com/v1/audio/translations
--header "Authorization: Bearer $OPENAI_API_KEY"
--header 'Content-Type: multipart/form-data'
--form file=@/path/to/file/german.mp3
--form model=whisper-1 \
把api.openai.com 换成中转地址即可
Expected Result
之前是正常的,不知道哪次更新后就不行了。
Related Screenshots
If none, please delete this section.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working