tombetthauser commited on
Commit
829fa44
Β·
1 Parent(s): 5c0e5df

Add hidden token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import torch
10
  from PIL import Image
11
  import matplotlib.pyplot as plot
12
 
13
- my_token = "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"
14
 
15
  with init_empty_weights():
16
  pipe = pipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16, use_auth_token=my_token).to("cuda")
 
10
  from PIL import Image
11
  import matplotlib.pyplot as plot
12
 
13
+ my_token = api_key
14
 
15
  with init_empty_weights():
16
  pipe = pipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16, use_auth_token=my_token).to("cuda")