{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "id": "sBbcB4vwj_jm" }, "outputs": [], "source": [ "!pip install --upgrade fastapi==0.90.0\n", "!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n", "!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n", "!curl -Lo basilmix.safetensors https://huggingface.co/nuigurumi/basil_mix/resolve/main/Basil_mix_fixed.safetensors\n", "!curl -Lo basilmix.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt\n", "!mv \"/content/basilmix.safetensors\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n", "!mv \"/content/basilmix.vae.pt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n", "%cd /content/stable-diffusion-webui\n", "!git checkout 91c8d0d\n", "!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py" ] }, { "cell_type": "markdown", "metadata": { "id": "fhwIXzcgfkoR" }, "source": [ "# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n", "# 📦 Repo: [Github](https://github.com/nolanaatama/sd-analog-colab)" ] } ], "metadata": { "accelerator": "GPU", "colab": { "provenance": [] }, "gpuClass": "standard", "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 0 }