Spaces:
Running
on
Zero
Running
on
Zero
Akimitsujiro
commited on
Commit
•
2d40dbf
1
Parent(s):
5a4eb5a
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from diffusers import StableDiffusionXLPipeline, StableDiffusionXLImg2ImgPipelin
|
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
-
DESCRIPTION = "
|
20 |
if not torch.cuda.is_available():
|
21 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU. </p>"
|
22 |
IS_COLAB = utils.is_google_colab() or os.getenv("IS_COLAB") == "1"
|
@@ -30,7 +30,7 @@ OUTPUT_DIR = os.getenv("OUTPUT_DIR", "./outputs")
|
|
30 |
|
31 |
MODEL = os.getenv(
|
32 |
"MODEL",
|
33 |
-
"https://huggingface.co/
|
34 |
)
|
35 |
|
36 |
torch.backends.cudnn.deterministic = True
|
|
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
+
DESCRIPTION = "Stable Diffusion Anime Style"
|
20 |
if not torch.cuda.is_available():
|
21 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU. </p>"
|
22 |
IS_COLAB = utils.is_google_colab() or os.getenv("IS_COLAB") == "1"
|
|
|
30 |
|
31 |
MODEL = os.getenv(
|
32 |
"MODEL",
|
33 |
+
"https://huggingface.co/cagliostrolab/animagine-xl-3.1/blob/main/animagine-xl-3.1.safetensors",
|
34 |
)
|
35 |
|
36 |
torch.backends.cudnn.deterministic = True
|