shauray commited on
Commit
3418ef3
1 Parent(s): bd27660

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
17
  variants="fp32",
18
  use_safetensor=True,
19
  )
20
- pipe.to("cuda")
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(