Spaces:
Build error
Build error
token
Browse files
app.py
CHANGED
@@ -8,9 +8,10 @@ import os
|
|
8 |
|
9 |
import random
|
10 |
token = os.environ.get("HF_TOKEN")
|
|
|
11 |
|
12 |
print("downloading models - 1/4")
|
13 |
-
hf_hub_download("black-forest-labs/FLUX.1-dev", "flux1-dev.safetensors"
|
14 |
print("downloading models - 2/4")
|
15 |
hf_hub_download("XLabs-AI/flux-controlnet-collections", "flux-depth-controlnet.safetensors")
|
16 |
print("downloading models - 3/4")
|
|
|
8 |
|
9 |
import random
|
10 |
token = os.environ.get("HF_TOKEN")
|
11 |
+
login(token=token)
|
12 |
|
13 |
print("downloading models - 1/4")
|
14 |
+
hf_hub_download("black-forest-labs/FLUX.1-dev", "flux1-dev.safetensors")
|
15 |
print("downloading models - 2/4")
|
16 |
hf_hub_download("XLabs-AI/flux-controlnet-collections", "flux-depth-controlnet.safetensors")
|
17 |
print("downloading models - 3/4")
|