fast-stable-diffusion: Error when starting Stable Diffusion.

The last cell crashes.

Calculating sha256 for /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/model.ckpt: 4c618792b5a84cd0e4453ae815d32a59f3bee6794240c40a10ee004db7486bb3
Loading weights [4c618792b5] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/model.ckpt
Creating model from config: /content/gdrive/MyDrive/sd/stablediffusion/configs/stable-diffusion/v2-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 865.91 M params.
Applying scaled dot product cross attention optimization.
Textual inversion embeddings loaded(0): 
Model loaded in 23.4s (calculate hash: 8.2s, load weights from disk: 5.2s, find config: 4.6s, create model: 0.3s, apply weights to model: 2.8s, apply half(): 1.4s, move model to device: 0.9s).
Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 413, in <module>
    webui()
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 316, in webui
    app, local_url, share_url = shared.demo.launch(
TypeError: Blocks.launch() got an unexpected keyword argument 'ssl_verify'

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 5
  • Comments: 26 (3 by maintainers)

Most upvoted comments

Check “Use_Latest_working_Commit” Webui received a fairly large update a few hours ago.

Open webui.py it should be on /content/gdrive/MyDrive/sd/stable-diffusion-webui/

search for ssl_verify=cmd_opts.disable_tls_verify, using ctrl+f

delete the line, and ctrl+s to save, it should start normally now.

And I don’t know if its necessary i think you need to update to gradio 3.28.1 add a new code cells and run this code below !pip install gradio==3.28.1 --no-deps

Update: I redownloaded a separate ‘webui.py’ file and replaced the one I had… Then went and deleted the line from the new one and now it works… That’s kinda strange! I never messed with that file at all until now…

Thanks for the assistance though!! It’s appreciated!