Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
17 |
variants="fp32",
|
18 |
use_safetensor=True,
|
19 |
)
|
20 |
-
pipe.to(
|
21 |
|
22 |
@torch.no_grad()
|
23 |
def call(
|
|
|
17 |
variants="fp32",
|
18 |
use_safetensor=True,
|
19 |
)
|
20 |
+
pipe.to(device)
|
21 |
|
22 |
@torch.no_grad()
|
23 |
def call(
|