ovshake commited on
Commit
64135f7
1 Parent(s): 46e4e58

add auth token

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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