# pip install huggingface-cli import os os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com' model_list = [ "black-forest-labs/FLUX.1-dev", "multimodalart/flux-tarot-v1", "alvdansen/frosting_lane_flux", "XLabs-AI/flux-RealismLora", "nerijs/animation2k-flux", "alvdansen/softserve_anime", "veryVANYA/ps1-style-flux", "alvdansen/flux-koda", "davisbro/half_illustration", "fofr/flux-wrong", "linoyts/yarn_art_Flux_LoRA", "SebastianBodza/Flux_Aquarell_Watercolor_v2", "dataautogpt3/FLUX-SyntheticAnime", "XLabs-AI/flux-lora-collection", "kudzueye/Boreal", "XLabs-AI/flux-lora-collection", "XLabs-AI/flux-lora-collection", "martintomov/retrofuturism-flux" ] #os.system("pip install -U huggingface-hub") for model_path in model_list: os.system( f"huggingface-cli download --resume-download {model_path} --local-dir ./{model_path} --local-dir-use-symlinks False --token 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")