Skip to content

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

@buptmanong

Description

@buptmanong

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'"}')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions