JojiJoseph commited on
Commit
0dc28f4
·
verified ·
1 Parent(s): cb1e9a1

Update app. Supports only cpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from diffusers.pipelines import StableDiffusionPipeline
5
  pipe = StableDiffusionPipeline.from_pretrained(
6
  "runwayml/stable-diffusion-v1-5",
7
  safety_checker=None,
8
- torch_dtype=torch.float16,
9
  use_safetensors=True,
10
  )
11
 
 
5
  pipe = StableDiffusionPipeline.from_pretrained(
6
  "runwayml/stable-diffusion-v1-5",
7
  safety_checker=None,
8
+ torch_dtype=torch.float32,
9
  use_safetensors=True,
10
  )
11