|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": { |
| 6 | + "id": "view-in-github" |
| 7 | + }, |
| 8 | + "source": [ |
| 9 | + "[](https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/main/anything_4_webui_colab.ipynb)" |
| 10 | + ] |
| 11 | + }, |
| 12 | + { |
| 13 | + "cell_type": "code", |
| 14 | + "execution_count": null, |
| 15 | + "metadata": { |
| 16 | + "id": "SaAJk33ppFw1" |
| 17 | + }, |
| 18 | + "outputs": [], |
| 19 | + "source": [ |
| 20 | + "!pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15+e163309.d20230103-cp38-cp38-linux_x86_64.whl\n", |
| 21 | + "!pip install -q --pre triton\n", |
| 22 | + "\n", |
| 23 | + "!git clone https://github.com/camenduru/stable-diffusion-webui\n", |
| 24 | + "!wget https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py -O /content/stable-diffusion-webui/scripts/run_n_times.py\n", |
| 25 | + "!git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui\n", |
| 26 | + "!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n", |
| 27 | + "!git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /content/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface\n", |
| 28 | + "!git clone https://github.com/Vetchems/sd-civitai-browser /content/stable-diffusion-webui/extensions/sd-civitai-browser\n", |
| 29 | + "!git clone https://github.com/kohya-ss/sd-webui-additional-networks /content/stable-diffusion-webui/extensions/sd-webui-additional-networks\n", |
| 30 | + "%cd /content/stable-diffusion-webui\n", |
| 31 | + "\n", |
| 32 | + "!wget https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0-pruned.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.0-pruned.ckpt\n", |
| 33 | + "!wget https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5-pruned.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.5-pruned.ckpt\n", |
| 34 | + "!wget https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0.vae.pt -O /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.0-pruned.vae.pt\n", |
| 35 | + "\n", |
| 36 | + "!python launch.py --share --xformers" |
| 37 | + ] |
| 38 | + } |
| 39 | + ], |
| 40 | + "metadata": { |
| 41 | + "accelerator": "GPU", |
| 42 | + "colab": { |
| 43 | + "collapsed_sections": [], |
| 44 | + "private_outputs": true, |
| 45 | + "provenance": [] |
| 46 | + }, |
| 47 | + "gpuClass": "standard", |
| 48 | + "kernelspec": { |
| 49 | + "display_name": "Python 3", |
| 50 | + "name": "python3" |
| 51 | + }, |
| 52 | + "language_info": { |
| 53 | + "name": "python" |
| 54 | + } |
| 55 | + }, |
| 56 | + "nbformat": 4, |
| 57 | + "nbformat_minor": 0 |
| 58 | +} |
0 commit comments