跳至主要內容

stable-diffusion

SunSeekerX小于 1 分钟

stable-diffusion

stable-diffusion-webui - githubopen in new window

Linux 部署

平台

autodl

https://www.autodl.com/homeopen in new window

克隆项目

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

检查必要依赖

# 建一个名称为py36的conda环境,指定python版本为3.10.6
conda create -n py36 python=3.10.6
# 激活conda环境,不行退出重新登录
conda activate py36
# 验证安装是否成功
python --version

Required Dependencies

  1. Python 3.10.6 and Git:

  2. Code from this repository:

    • preferred way: using git:

      git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
      
      • This way is referred because it lets you update by just running git pull.
      • Those commands can be used from command line window that opens after you right click in Explorer and select "Git Bash here".
    • alternative way: use the "Code" (green button) -> "Download ZIP" option on the main page of the repo.

      • You still need to install git even if you choose this.
      • To update, you'll have to download zip again and replace files.

启动

启动

python launch.py --disable-safe-unpickle --port=6006 --deepdanbooru

bash webui.sh -f

# 后台运行
nohup bash webui.sh -f &

下载模型

https://civitai.com/api/download/models/82446
上次编辑于:
贡献者: SunSeekerX