fabrioop commited on
Commit
29085f8
·
verified ·
1 Parent(s): 6c888bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
  device = "cuda" if torch.cuda.is_available() else "cpu"
7
 
8
  pipe = StableDiffusionPipeline.from_pretrained(
9
- "runwayml/stable-diffusion-v1-5",
10
  torch_dtype=torch.float16 if device=="cuda" else torch.float32
11
  )
12
  pipe = pipe.to(device)
 
6
  device = "cuda" if torch.cuda.is_available() else "cpu"
7
 
8
  pipe = StableDiffusionPipeline.from_pretrained(
9
+ "runwayml/stable-diffusion-v1-5",
10
  torch_dtype=torch.float16 if device=="cuda" else torch.float32
11
  )
12
  pipe = pipe.to(device)