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

调用API时,视频一直上传失败 #90

Open
xeroqin opened this issue Oct 16, 2024 · 6 comments
Open

调用API时,视频一直上传失败 #90

xeroqin opened this issue Oct 16, 2024 · 6 comments

Comments

@xeroqin
Copy link

xeroqin commented Oct 16, 2024

在使用start.py运行项目时可以正常上传视频并生成字幕,但是在使用API时总是无法上传视频,并报错“Expectiec value: line 1 column 1 (char 0)”
mmexport1729094028950

@jianchang512
Copy link
Owner

那是你代码问题 ask_api.py 里什么什么,代码错误

@xeroqin
Copy link
Author

xeroqin commented Oct 17, 2024

image
可是使用源码中的test.py代码也是无法上传
image

@jianchang512
Copy link
Owner

print(response.text) 看看输出什么

确定已启动了 http://127.0.0.19977

@xeroqin
Copy link
Author

xeroqin commented Oct 17, 2024

输出Relay failed to 127.0.0.1:9977
image

@jianchang512
Copy link
Owner

浏览器中打开 http://127.0.0.1:9977 先确认启动了 start.exe

@xeroqin
Copy link
Author

xeroqin commented Oct 17, 2024

现在可以正常使用了,感谢作者!还有一部分原因是我电脑防火墙的设置问题

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