jamescalam commited on
Commit
1a67055
1 Parent(s): 145e290

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ device = 'cpu'
41
 
42
  # init all of the models and move them to a given GPU
43
  pipe = StableDiffusionPipeline.from_pretrained(
44
- "CompVis/stable-diffusion-v1-4", use_auth_token=True
45
  )
46
  pipe.to(device)
47
 
 
41
 
42
  # init all of the models and move them to a given GPU
43
  pipe = StableDiffusionPipeline.from_pretrained(
44
+ "CompVis/stable-diffusion-v1-4", use_auth_token=os.environ['HF_AUTH']
45
  )
46
  pipe.to(device)
47