mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
4 lines
159 B
Python
4 lines
159 B
Python
def VaceWanModelDictConverter(state_dict):
|
|
state_dict_ = {name: state_dict[name] for name in state_dict if name.startswith("vace")}
|
|
return state_dict_
|