Spaces:
Runtime error
Runtime error
ovshake
commited on
Commit
•
64135f7
1
Parent(s):
46e4e58
add auth token
Browse files
app.py
CHANGED
@@ -61,6 +61,7 @@ def load_inpainting_pipeline():
|
|
61 |
"runwayml/stable-diffusion-inpainting",
|
62 |
revision="fp16",
|
63 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
|
|
64 |
).to(device)
|
65 |
return inpainting_pipeline
|
66 |
|
|
|
61 |
"runwayml/stable-diffusion-inpainting",
|
62 |
revision="fp16",
|
63 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
64 |
+
use_auth_token=os.environ["hf_auth_token"]
|
65 |
).to(device)
|
66 |
return inpainting_pipeline
|
67 |
|