XLabs-AI / x-flux

Apache License 2.0
1.46k stars 105 forks source link

Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/ae.safetensors. #103

Open szhao1968 opened 1 month ago

szhao1968 commented 1 month ago

running XLabs-AI/flux-controlnet-canny-v3 inference in terminal:

launch --cpu=6 --gpu=1 --memory=64 --type=v100-32g \ python3 main.py --prompt "a bedroom" \ --image canny_edges.png --control_type canny --repo_id XLabs-AI/flux-controlnet-canny-v3 \ --name flux-canny-controlnet-v3.safetensors --use_controlnet --model_type flux-dev \ --width 1080 --height 1920 --timestep_to_start_cfg 1 --num_steps 25 --true_gs 4 --guidance 4

Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/ae.safetensors.

ZhePang commented 4 weeks ago

you prob need to login to HuggingFace

denred0 commented 2 weeks ago

Run it in a terminal before execution and paste your token from HF.

from huggingface_hub import interpreter_login
interpreter_login()