Idor980 commited on
Commit
1d05284
1 Parent(s): ad362b2

update space

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ if torch.cuda.is_available():
18
  pipe = pipe.to(device)
19
  else:
20
  pipe = DiffusionPipeline.from_pretrained(
21
- "stabilityai/sdxl-turbo", use_safetensors=True
22
  )
23
  pipe = pipe.to(device)
24
 
 
18
  pipe = pipe.to(device)
19
  else:
20
  pipe = DiffusionPipeline.from_pretrained(
21
+ "stabilityai/sdxl-turbo", torch_dtype=torch.float16, use_safetensors=True
22
  )
23
  pipe = pipe.to(device)
24