openfree commited on
Commit
4388b8e
1 Parent(s): ddcfc43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -493,7 +493,7 @@ footer {visibility: hidden;}
493
 
494
 
495
 
496
- huggingface_token = os.getenv("HUGGINFACE_TOKEN")
497
 
498
  model_path = snapshot_download(
499
  repo_id="black-forest-labs/FLUX.1-dev",
@@ -514,7 +514,7 @@ pipe = FluxControlNetPipeline.from_pretrained(
514
  pipe.to(device)
515
 
516
  MAX_SEED = 1000000
517
- MAX_PIXEL_BUDGET = 1024 * 1024
518
 
519
 
520
 
 
493
 
494
 
495
 
496
+ huggingface_token = os.getenv("HF_TOKEN")
497
 
498
  model_path = snapshot_download(
499
  repo_id="black-forest-labs/FLUX.1-dev",
 
514
  pipe.to(device)
515
 
516
  MAX_SEED = 1000000
517
+
518
 
519
 
520