Skip to content

Commit

Permalink
sd-v1-5-inpainting
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru authored Oct 27, 2022
1 parent 3d18a2b commit 75397a2
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions stable_diffusion_inpainting_webui_colab.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"private_outputs": true,
"provenance": [],
"collapsed_sections": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
},
"accelerator": "GPU",
"gpuClass": "standard"
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github"
},
"source": [
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/main/stable_diffusion_inpainting_webui_colab.ipynb)"
]
},
{
"cell_type": "code",
"source": [
"!pip install -qq https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.13/xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whl\n",
"!pip install -qq -U --pre triton\n",
"\n",
"!git clone -b colab https://github.com/camenduru/stable-diffusion-webui\n",
"%cd stable-diffusion-webui\n",
"\n",
"!sed -i -e 's/numpy==1.23.3/numpy==1.21.6/g' requirements_versions.txt\n",
"!sed -i -e 's/fairscale==0.4.9/fairscale==0.4.6/g' requirements_versions.txt\n",
"\n",
"!wget https://huggingface.co/camenduru/i15/resolve/main/sd-v1-5-inpainting.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/sd-v1-5-inpainting.ckpt\n",
"\n",
"!python launch.py --share --force-enable-xformers"
],
"metadata": {
"id": "SaAJk33ppFw1"
},
"execution_count": null,
"outputs": []
}
]
}

0 comments on commit 75397a2

Please sign in to comment.