KingNish commited on
Commit
77f1348
1 Parent(s): 085c378

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -24,7 +24,6 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
24
  torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
25
  use_safetensors=True,
26
  add_watermarker=False,
27
- variant="fp16" if torch.cuda.is_available() else None,
28
  ).to(device)
29
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
30
 
 
24
  torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
25
  use_safetensors=True,
26
  add_watermarker=False,
 
27
  ).to(device)
28
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
29