Files
DiffSynth-Studio/download.py
2025-06-27 10:20:11 +08:00

3 lines
181 B
Python

#模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('black-forest-labs/FLUX.1-Kontext-dev', cache_dir="models", ignore_file_pattern="transformer/*")