Arafath10 commited on
Commit
7f1615d
·
1 Parent(s): bbaca1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from diffusers import StableDiffusionPipeline
5
  model_id = "CompVis/stable-diffusion-v1-4"
6
  device = "cpu"
7
 
8
- pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
9
  pipe = pipe.to(device)
10
 
11
  def greet(name):
 
5
  model_id = "CompVis/stable-diffusion-v1-4"
6
  device = "cpu"
7
 
8
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16)
9
  pipe = pipe.to(device)
10
 
11
  def greet(name):