Duplicated from Clebersla/RVC_V2_Huggingface_Version
77731d1
1
2
3
4
5
6
7
8
9
10
11
12
13
function lowercaseKeys(object) { if (!object) { return {}; } return Object.keys(object).reduce((newObj, key) => { newObj[key.toLowerCase()] = object[key]; return newObj; }, {}); } export { lowercaseKeys };