Spaces:
lichorosario
/
Runtime error

File size: 1,032 Bytes
928d246
 
 
 
 
 
 
 
 
 
 
 
 
 
9a8027b
 
 
928d246
 
 
 
 
 
 
 
 
 
 
 
89539f7
928d246
 
 
 
 
 
 
 
 
9a8027b
 
 
 
 
928d246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
 "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\n",
    "%cd SD-XL\n",
    "%pip install -q -r requirements.txt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "id": "QSF_GqTKJsN5"
   },
   "outputs": [],
   "source": [
    "import os\n",
    "\n",
    "os.environ[\"ENABLE_REFINER\"] = \"0\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "id": "LJbHj7yLJ9p0"
   },
   "outputs": [],
   "source": [
    "from app import demo\n",
    "\n",
    "demo.queue().launch()"
   ]
  }
 ],
 "metadata": {
  "accelerator": "GPU",
  "colab": {
   "gpuType": "T4",
   "provenance": []
  },
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}