NikeZoldyck commited on
Commit
f4cf673
1 Parent(s): f09e5db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ model_id = "CompVis/stable-diffusion-v1-4"
27
  device = "cuda" if torch.cuda.is_available() else "cpu"
28
  context = autocast if device == "cuda" else nullcontext
29
 
30
- pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16,use_auth_token=token).to(device)
31
 
32
 
33
  def infer(prompt,samples):
 
27
  device = "cuda" if torch.cuda.is_available() else "cpu"
28
  context = autocast if device == "cuda" else nullcontext
29
 
30
+ pipe = StableDiffusionPipeline.from_pretrained(model_id,use_auth_token=token).to(device)
31
 
32
 
33
  def infer(prompt,samples):