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

dubbing #44

Open
wanglongpeng1 opened this issue Aug 2, 2024 · 0 comments
Open

dubbing #44

wanglongpeng1 opened this issue Aug 2, 2024 · 0 comments

Comments

@wanglongpeng1
Copy link

"download_dubbed_file" function error

Dubbing in progress... Will check status again in 10 seconds.
Dubbing in progress... Will check status again in 10 seconds.
Traceback (most recent call last):
File "/datahdd/wyz/wlp/11LABS_Dubbings/examples/create_a_dub_from_file.py", line 65, in
result = create_dub_from_file(
^^^^^^^^^^^^^^^^^^^^^
File "/datahdd/wyz/wlp/11LABS_Dubbings/examples/create_a_dub_from_file.py", line 58, in create_dub_from_file
output_file_path = download_dubbed_file(dubbing_id, target_language)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/datahdd/wyz/wlp/11LABS_Dubbings/examples/dubbing_utils.py", line 39, in download_dubbed_file
for chunk in client.dubbing.get_dubbed_file(dubbing_id, language_code):
TypeError: 'NoneType' object is not iterable

The video that has been dubbed cannot be downloaded to the local, and the return is empty. But after I log in to my account on the official website, I can see the file in the history.
After investigating for a long time, I can't find the reason.
已经dubbing后的视频 无法下载到本地,返回的是空,我上官方网站登陆账号后可以在历史中看到文件,排查了很久找不到原因。

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

1 participant