Update app.py
Browse files
app.py
CHANGED
@@ -493,7 +493,7 @@ footer {visibility: hidden;}
|
|
493 |
|
494 |
|
495 |
|
496 |
-
huggingface_token = os.getenv("
|
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 |
-
|
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 |
|