mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-21 16:18:13 +00:00
4 lines
143 B
Python
4 lines
143 B
Python
def WanS2VAudioEncoderStateDictConverter(state_dict):
|
|
state_dict = {'model.' + k: state_dict[k] for k in state_dict}
|
|
return state_dict
|