lakshyana commited on
Commit
ecf2488
1 Parent(s): 7c8c2c8

auth token

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +2 -1
.DS_Store ADDED
Binary file (6.15 kB). View file
 
app.py CHANGED
@@ -20,7 +20,8 @@ device = "cuda"
20
  gen = torch.Generator(device='cuda')
21
  gen.manual_seed(12758672)
22
  orig_state = gen.get_state()
23
- pipe = StableDiffusionPipeline.from_pretrained(model_id, use_auth_token=True).to(device)
 
24
  lock = Lock()
25
  nlp = spacy.load('en_core_web_sm')
26
 
 
20
  gen = torch.Generator(device='cuda')
21
  gen.manual_seed(12758672)
22
  orig_state = gen.get_state()
23
+ use_auth_token= "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"
24
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, use_auth_token=use_auth_token).to(device)
25
  lock = Lock()
26
  nlp = spacy.load('en_core_web_sm')
27