flux-refactor

This commit is contained in:
Artiprocher
2025-06-27 10:20:11 +08:00
parent b603acd36a
commit fcf2fbc07f
15 changed files with 456 additions and 7 deletions

3
download.py Normal file
View File

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