hysts/ControlNet
993
1{2 "cells": [3 {4 "cell_type": "code",5 "execution_count": null,6 "metadata": {7 "id": "8CnkIPtjn8Dc"8 },9 "outputs": [],10 "source": [11 "!git clone --recursive https://huggingface.co/spaces/hysts/ControlNet"12 ]13 },14 {15 "cell_type": "code",16 "execution_count": null,17 "metadata": {18 "id": "IZlaYNTWoFPK"19 },20 "outputs": [],21 "source": [22 "%cd ControlNet"23 ]24 },25 {26 "cell_type": "code",27 "execution_count": null,28 "metadata": {29 "id": "0zhLFnZUoWdp"30 },31 "outputs": [],32 "source": [33 "!cd ControlNet && git apply ../patch && cd .."34 ]35 },36 {37 "cell_type": "code",38 "execution_count": null,39 "metadata": {40 "id": "P_fzYrLvoIcI"41 },42 "outputs": [],43 "source": [44 "!pip install -q -r requirements.txt"45 ]46 },47 {48 "cell_type": "code",49 "execution_count": null,50 "metadata": {51 "id": "GOfGng5Woktd"52 },53 "outputs": [],54 "source": [55 "import app"56 ]57 },58 {59 "cell_type": "code",60 "execution_count": null,61 "metadata": {62 "id": "7Cued230ol7T"63 },64 "outputs": [],65 "source": []66 }67 ],68 "metadata": {69 "accelerator": "GPU",70 "colab": {71 "provenance": []72 },73 "gpuClass": "standard",74 "language_info": {75 "name": "python"76 }77 },78 "nbformat": 4,79 "nbformat_minor": 080}81 