in utils/pipeline_utils.py [0:0]
def download_hosted_file(filename, output_path):
# Download hosted binaries from huggingface Hub.
from huggingface_hub import hf_hub_download
REPO_NAME = "jbschlosser/flux-fast"
hf_hub_download(REPO_NAME, filename, local_dir=os.path.dirname(output_path))