Spaces:
Runtime error
Runtime error
fix download
Browse files
app.py
CHANGED
|
@@ -8,12 +8,11 @@ import os
|
|
| 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.
|
| 17 |
print("downloading models - 3/4")
|
| 18 |
hf_hub_download("XLabs-AI/flux-ip-adapter", "flux-ip-adapter.safetensors")
|
| 19 |
print("downloading models - 4/4")
|
|
|
|
| 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", token)
|
| 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")
|
| 17 |
hf_hub_download("XLabs-AI/flux-ip-adapter", "flux-ip-adapter.safetensors")
|
| 18 |
print("downloading models - 4/4")
|