This commit is contained in:
wataru 2023-06-03 00:11:01 +09:00
parent 7b323207c5
commit 105c3a23d5
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -54,7 +54,7 @@ export const ModelSwitchRow = (_props: ModelSwitchRowProps) => {
const metadata = x.deprecated ? `[${index}] [deprecated version]` : `[${index}] [${f0str},${srstr},${embedstr},${typestr}]`
const tuning = `t:${x.defaultTune}`
const useIndex = x.indexFile != null ? `i:true` : `i:false`
const useIndex = x.indexFile != null && x.indexFile.length > 0 ? `i:true` : `i:false`
const defaultIndexRatio = `ir:${x.defaultIndexRatio}`
const defaultProtect = `p:${x.defaultProtect}`
const subMetadata = `(${tuning},${useIndex},${defaultIndexRatio},${defaultProtect})`

View File

@ -348,7 +348,7 @@ export const DefaultServerSetting_DDSP_SVC: ServerInfo = {
export const DefaultServerSetting_RVC: ServerInfo = {
...DefaultServerSetting, tran: 10, extraConvertSize: 1024 * 8, f0Detector: F0Detector.harvest
...DefaultServerSetting, tran: 10, extraConvertSize: 1024 * 4, f0Detector: F0Detector.harvest
}
///////////////////////