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

when call the api, I got TypeError: 'NoneType' object is not subscriptable #578

Closed
xwwxyd opened this issue Mar 13, 2023 · 2 comments
Closed

Comments

@xwwxyd
Copy link

xwwxyd commented Mar 13, 2023

my Command Line Arguments:
python webui.py --port 6006 --xformers --no-half-vae --listen --api --enable-insecure-extension-access

Pasted Graphic 1

A n  lee Die, le-aall

Soleaproeesslmg py  1ine 6e  ln Procees aepe

@ljleb
Copy link
Collaborator

ljleb commented Mar 13, 2023

The webui was updated recently. Are you on latest commit of master?

If you are using the latest version of the webui, the /controlnet/*2img will stop working. A fix is in the works at the moment.

@xwwxyd
Copy link
Author

xwwxyd commented Mar 14, 2023

yeah, I noticed the api is deprecated. Now we can use Controlnet and other scripts from the /sdapi/v1/txt2img and sdapi/v1/img2img with parameter alwayson_scripts ! Cool
Thank you~
AUTOMATIC1111/stable-diffusion-webui#8187

@xwwxyd xwwxyd closed this as completed Mar 14, 2023
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