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 报错:/api/modules HTTP/1. 1" 404 Not Found #1817

Open
Thelast0802 opened this issue Nov 27, 2024 · 5 comments
Open

Comments

@Thelast0802
Copy link

为什么自己指定模型地址及参考音频、文本后,可以通过 9880/docs 进入 docs 界面,但是不能将 127.0.0.0:9880 这个填入其他应用中(例如koboldcpp),总是会报错HTTP/1. 1"404 Not Found”,求解!感谢!
Snipaste_2024-11-27_17-02-50

@XXXXRT666
Copy link
Contributor

请求发错了

@Thelast0802
Copy link
Author

请求发错了

大佬能否详细说下是什么情况,是我请求 API 的格式写错了,还是这个 api.py 有写错的地方

@XXXXRT666
Copy link
Contributor

格式

@Thelast0802
Copy link
Author

格式

感谢大佬回复,这种情况我应该修改这个参数?

@XXXXRT666
Copy link
Contributor

按照API要求发请求

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