{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "-ayiROzqJeXB", "outputId": "c7710012-c311-4203-9dc8-6333f0eb0e66" }, "outputs": [], "source": [ "!git clone -q https://huggingface.co/spaces/hysts/SD-XL" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "d-GcdYVAJmt0", "outputId": "d7489bf9-df54-4e96-ed1e-cf392f34b890" }, "outputs": [], "source": [ "%cd SD-XL" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "vTWR-Xr6JoBJ" }, "outputs": [], "source": [ "!pip install -q -r requirements.txt" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "QSF_GqTKJsN5" }, "outputs": [], "source": [ "import os\n", "\n", "import app\n", "\n", "os.environ[\"ENABLE_REFINER\"] = \"0\"" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "LJbHj7yLJ9p0" }, "outputs": [], "source": [] } ], "metadata": { "accelerator": "GPU", "colab": { "gpuType": "T4", "provenance": [] }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 0 }