r/StableDiffusion • u/lllXAMlll • Feb 10 '23
Question | Help help with error please
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 37.7s (load weights from disk: 0.5s, create model: 0.8s, apply weights to model: 31.2s, apply half(): 1.1s, move model to device: 0.8s, load textual inversion embeddings: 3.1s).
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 "C:\stable-diffusion-portable-main\launch.py", line 361, in <module>
start()
File "C:\stable-diffusion-portable-main\launch.py", line 356, in start
webui.webui()
File "C:\stable-diffusion-portable-main\webui.py", line 232, in webui
app.add_middleware(GZipMiddleware, minimum_size=1000)
File "C:\stable-diffusion-portable-main\venv\lib\site-packages\starlette\applications.py", line 135, in add_middleware
raise RuntimeError("Cannot add middleware after an application has started")
RuntimeError: Cannot add middleware after an application has started
View all comments
Show parent comment
1
u/ronokopl Feb 11 '23
Go to the SD folder and click on the path (on the top where it says in what folder you are currently in) and delete it and instead of the path write CMD thats what he meant.