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

Conflict of field \'guidance\' and \'guidance_end\',运行api时出现以上错误,不知道什么原因 #166

Open
buptmanong opened this issue May 27, 2024 · 0 comments

Comments

@buptmanong
Copy link

Traceback (most recent call last):
File "/root/text2image/stable-diffusion-webui/batchgeneratepics.py", line 101, in
image=callwebui_image2image_api(host,port,prompt,negaprompt,image_path,model)
File "/root/text2image/stable-diffusion-webui/batchgeneratepics.py", line 71, in callwebui_image2image_api
response = api.img2img(
File "/home/nlper/anaconda3/envs/sd-webui/lib/python3.10/site-packages/webuiapi/webuiapi.py", line 828, in img2img
return self.post_and_get_api_result(
File "/home/nlper/anaconda3/envs/sd-webui/lib/python3.10/site-packages/webuiapi/webuiapi.py", line 666, in post_and_get_api_result
return self._to_api_result(response)
File "/home/nlper/anaconda3/envs/sd-webui/lib/python3.10/site-packages/webuiapi/webuiapi.py", line 456, in _to_api_result
raise RuntimeError(response.status_code, response.text)
RuntimeError: (500, '{"error":"AssertionError","detail":"","body":"","errors":"Conflict of field 'guidance' and 'guidance_end'"}')

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