John6666 commited on
Commit
fc20338
·
verified ·
1 Parent(s): 669753f

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ IMAGE_SIZE = 1024
30
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
31
  HF_TOKEN = os.environ.get("HF_TOKEN")
32
 
33
- #login(token=HF_TOKEN)
34
 
35
  #bfl_repo="black-forest-labs/FLUX.1-dev"
36
  bfl_repo="camenduru/FLUX.1-dev-diffusers"
 
30
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
31
  HF_TOKEN = os.environ.get("HF_TOKEN")
32
 
33
+ if HF_TOKEN: login(token=HF_TOKEN)
34
 
35
  #bfl_repo="black-forest-labs/FLUX.1-dev"
36
  bfl_repo="camenduru/FLUX.1-dev-diffusers"