mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
3 lines
181 B
Python
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/*") |