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

python代码示例报错 #5

Open
owelinux opened this issue Jul 9, 2024 · 1 comment
Open

python代码示例报错 #5

owelinux opened this issue Jul 9, 2024 · 1 comment

Comments

@owelinux
Copy link

owelinux commented Jul 9, 2024

Traceback (most recent call last):
File "app-srt.py", line 7, in
print(res.data)
AttributeError: 'Response' object has no attribute 'data'

是否有更详细的使用说明?我想调接口生成字幕保存本地srt文件

@jianchang512
Copy link
Owner

出错了 res.data改成res.json()

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

2 participants