prithivMLmods commited on
Commit
8a8852c
1 Parent(s): 4897aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,8 +45,8 @@ ENABLE_CPU_OFFLOAD = 0
45
 
46
  if torch.cuda.is_available():
47
  pipe = StableDiffusionXLPipeline.from_pretrained(
48
- "SG161222/RealVisXL_V4.0_Lightning",
49
- torch_dtype=torch.float16,
50
  use_safetensors=True,
51
  )
52
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
 
45
 
46
  if torch.cuda.is_available():
47
  pipe = StableDiffusionXLPipeline.from_pretrained(
48
+ "SG161222/RealVisXL_V5.0_Lightning",
49
+ torch_dtype=torch.float32,
50
  use_safetensors=True,
51
  )
52
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)