[AI工具集]如何更新stable diffusion webui

AI工具集·StableDiffusion · 2023-10-16

截止至目前为止,stable diffusion webui版本已经更新到1.6.0了。

有些小伙伴可能会问:我还在用老的版本的,发现有些新的模型需要新的版本才能更好的支持,要升级的话是怎么操作?下载一个新的版本包然后把旧的模型那一大堆的文件挪过去吗?

No no no 只需要一个很简单的命令。

step1: 在原来的stable diffusion webui文件夹,右击->服务->New iTerm Tab here 打开命令面板

step2: 输入命令 git pull 即可等待更新。

但又有人说了,我输入了这个命令后,报出了一大推的错误提示,没法更新呀。

"error: Your local changes to the following files would be overwritten by merge: launch.py"
这个是常见的错误,如果你遇到的是这种错误,可以尝试输入以下命令解决。

git stash
git pull
git stash pop
stable-diffusion-webui stable diffusion安装 stable diffusion更新
Theme Jasmine by Kent Liao