stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: --api arg breaks it all?
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I wanted to test this new feature: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/4195
When adding the --api parameter in the startup arguments to test it, I get this error:
`Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True in launch().
Traceback (most recent call last):
File "launch.py", line 249, in
Steps to reproduce the problem
- add --api parameter in the startup arguments
- Launch webui just watch
What should have happened?
Normal application startup
Commit where the problem happens
d98eacea40c7a40227f36dbea9cf92f90489310b
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
No response
Command Line Arguments
--api
Additional information, context and logs
No response
see https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4206
I managed to change the python version, turns out my installation was a little veird and got buggy. @super3 change it to 3.10, that will do the trick, if it doesnt change try removing the venv folder, let it install it all again
Getting the exact same issue on Ubuntu 20.04.5 LTS running Python 3.8.10.
The changes from @7flash on https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/4245 didn't solve the issue for me.
@Lalimec Deleting the venv was the key. Much thanks for your help.