Spaces:
Runtime error
Runtime error
jamescalam
commited on
Commit
•
1a67055
1
Parent(s):
145e290
Update app.py
Browse files
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=
|
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 |
|