hysts HF staff commited on
Commit
9a8027b
1 Parent(s): a7e20b6
Files changed (2) hide show
  1. .pre-commit-config.yaml +0 -1
  2. notebook.ipynb +8 -30
.pre-commit-config.yaml CHANGED
@@ -52,4 +52,3 @@ repos:
52
  - id: nbqa-pyupgrade
53
  args: ["--py37-plus"]
54
  - id: nbqa-isort
55
- args: ["--float-to-top"]
 
52
  - id: nbqa-pyupgrade
53
  args: ["--py37-plus"]
54
  - id: nbqa-isort
 
notebook.ipynb CHANGED
@@ -12,33 +12,9 @@
12
  },
13
  "outputs": [],
14
  "source": [
15
- "!git clone -q https://huggingface.co/spaces/hysts/SD-XL"
16
- ]
17
- },
18
- {
19
- "cell_type": "code",
20
- "execution_count": null,
21
- "metadata": {
22
- "colab": {
23
- "base_uri": "https://localhost:8080/"
24
- },
25
- "id": "d-GcdYVAJmt0",
26
- "outputId": "d7489bf9-df54-4e96-ed1e-cf392f34b890"
27
- },
28
- "outputs": [],
29
- "source": [
30
- "%cd SD-XL"
31
- ]
32
- },
33
- {
34
- "cell_type": "code",
35
- "execution_count": null,
36
- "metadata": {
37
- "id": "vTWR-Xr6JoBJ"
38
- },
39
- "outputs": [],
40
- "source": [
41
- "!pip install -q -r requirements.txt"
42
  ]
43
  },
44
  {
@@ -51,8 +27,6 @@
51
  "source": [
52
  "import os\n",
53
  "\n",
54
- "import app\n",
55
- "\n",
56
  "os.environ[\"ENABLE_REFINER\"] = \"0\""
57
  ]
58
  },
@@ -63,7 +37,11 @@
63
  "id": "LJbHj7yLJ9p0"
64
  },
65
  "outputs": [],
66
- "source": []
 
 
 
 
67
  }
68
  ],
69
  "metadata": {
 
12
  },
13
  "outputs": [],
14
  "source": [
15
+ "!git clone -q https://huggingface.co/spaces/hysts/SD-XL\n",
16
+ "%cd SD-XL\n",
17
+ "%pip install -q -r requirements.txt"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  ]
19
  },
20
  {
 
27
  "source": [
28
  "import os\n",
29
  "\n",
 
 
30
  "os.environ[\"ENABLE_REFINER\"] = \"0\""
31
  ]
32
  },
 
37
  "id": "LJbHj7yLJ9p0"
38
  },
39
  "outputs": [],
40
+ "source": [
41
+ "from app import demo\n",
42
+ "\n",
43
+ "demo.queue().launch()"
44
+ ]
45
  }
46
  ],
47
  "metadata": {