Futuretop commited on
Commit
a04d240
·
verified ·
1 Parent(s): 00ca8e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ pipe = DiffusionPipeline.from_pretrained(
35
  ),
36
  tokenizer=tokenizer,
37
  feature_extractor=feature_extractor,
38
- torch_dtype=torch.float32, # load weights in half-precision
39
  use_safetensors=True
40
  )
41
 
 
35
  ),
36
  tokenizer=tokenizer,
37
  feature_extractor=feature_extractor,
38
+ torch_dtype=torch.bfloat16, # load weights in half-precision
39
  use_safetensors=True
40
  )
41