{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "id": "8CnkIPtjn8Dc" }, "outputs": [], "source": [ "!git clone --recursive https://huggingface.co/spaces/hysts/ControlNet-with-Anything-v4" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "IZlaYNTWoFPK" }, "outputs": [], "source": [ "%cd ControlNet-with-Anything-v4" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "0zhLFnZUoWdp" }, "outputs": [], "source": [ "!cd ControlNet && git apply ../patch && cd .." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "P_fzYrLvoIcI" }, "outputs": [], "source": [ "!pip install -q -r requirements.txt" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "GOfGng5Woktd" }, "outputs": [], "source": [ "import app" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "7Cued230ol7T" }, "outputs": [], "source": [] } ], "metadata": { "accelerator": "GPU", "colab": { "provenance": [] }, "gpuClass": "standard", "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 0 }