mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-24 10:18:12 +00:00
flux-refactor
This commit is contained in:
3
download.py
Normal file
3
download.py
Normal 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/*")
|
||||
Reference in New Issue
Block a user