wjs0725 commited on
Commit
0c67c24
1 Parent(s): ed997a6

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -19,6 +19,8 @@ from transformers import pipeline
19
 
20
  from flux.sampling import denoise, get_schedule, prepare, unpack
21
  from flux.util import (configs, embed_watermark, load_ae, load_clip, load_flow_model, load_t5)
 
 
22
 
23
  @dataclass
24
  class SamplingOptions:
 
19
 
20
  from flux.sampling import denoise, get_schedule, prepare, unpack
21
  from flux.util import (configs, embed_watermark, load_ae, load_clip, load_flow_model, load_t5)
22
+ from huggingface_hub import login
23
+ login(token=os.getenv('Token'))
24
 
25
  @dataclass
26
  class SamplingOptions: