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/*") |