Spaces:
Running
on
Zero
Running
on
Zero
nroggendorff
commited on
Commit
•
416731a
1
Parent(s):
37fc617
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,7 @@ import spaces
|
|
4 |
import torch
|
5 |
from diffusers import StableDiffusionXLPipeline
|
6 |
|
7 |
-
pipeline = StableDiffusionXLPipeline.from_pretrained(
|
8 |
-
"nroggendorff/animexl"
|
9 |
-
).to("cuda")
|
10 |
|
11 |
@spaces.GPU
|
12 |
def generate(prompt, negative_prompt, width, height, sample_steps):
|
|
|
4 |
import torch
|
5 |
from diffusers import StableDiffusionXLPipeline
|
6 |
|
7 |
+
pipeline = StableDiffusionXLPipeline.from_pretrained("nroggendorff/animexl").to("cuda")
|
|
|
|
|
8 |
|
9 |
@spaces.GPU
|
10 |
def generate(prompt, negative_prompt, width, height, sample_steps):
|