#582 requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://openspeech.bytedance.com/api/v1/vc/submit?

2409:8a1e* Posted at: 20 days ago 👁34

以下错误是什么意思?请帮助!!!

操作系统错误 (None): None:Traceback (most recent call last):

File "videotrans\util\TestSTT.py", line 18, in run

File "videotrans\recognition\__init__.py", line 211, in run

File "videotrans\recognition\_base.py", line 70, in run

File "videotrans\recognition\_doubao.py", line 67, in _exec

File "requests\models.py", line 1026, in raise_for_status

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://openspeech.bytedance.com/api/v1/vc/submit?appid=3924050709&language=zh-CN&use_itn=True&caption_type=speech&max_lines=1

=====

Windows-10-10.0.19045-SP0

version:v3.80

frozen:True

language:zh

1 Replies

Admin

可能原因

1. 3924050709 这个应用可能没有开通 音视频字幕生成 功能

2. Access Token填写错误

仔细阅读文档 https://pyvideotrans.com/doubaoimage

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions