Skip to content

Commit a7326fe

Browse files
authored
sd2 🎉
1 parent c441715 commit a7326fe

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎stable-diffusion-v2-webui-colab.ipynb‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"metadata": {
55
"colab": {
66
"private_outputs": true,
7-
"provenance": [],
8-
"collapsed_sections": []
7+
"provenance": []
98
},
109
"kernelspec": {
1110
"name": "python3",
@@ -32,18 +31,16 @@
3231
"source": [
3332
"!pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.14/xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whl\n",
3433
"\n",
35-
"!git clone -b sd-2.0 https://github.com/MrCheeze/stable-diffusion-webui\n",
34+
"!git clone https://github.com/camenduru/stable-diffusion-webui\n",
3635
"%cd stable-diffusion-webui\n",
3736
"\n",
3837
"!sed -i -e 's/numpy==1.23.3/numpy==1.21.6/g' requirements_versions.txt\n",
3938
"!sed -i -e 's/fairscale==0.4.9/fairscale==0.4.6/g' requirements_versions.txt\n",
4039
"\n",
4140
"!wget https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.ckpt\n",
41+
"!wget https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /content/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.yaml\n",
4242
"\n",
43-
"%env STABLE_DIFFUSION_REPO=https://github.com/Stability-AI/stablediffusion\n",
44-
"%env STABLE_DIFFUSION_COMMIT_HASH=33910c386eaba78b7247ce84f313de0f2c314f61\n",
45-
"\n",
46-
"!python launch.py --share --force-enable-xformers --config repositories/stable-diffusion/configs/stable-diffusion/v2-inference-v.yaml"
43+
"!python launch.py --share --force-enable-xformers"
4744
],
4845
"metadata": {
4946
"id": "SaAJk33ppFw1"

0 commit comments

Comments
 (0)