mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-03 00:33:57 +03:00
index value display bug
This commit is contained in:
parent
20303d9dfc
commit
7746f3168f
@ -49,7 +49,7 @@ export const ModelSwitchRow = (_props: ModelSwitchRowProps) => {
|
|||||||
|
|
||||||
const metadata = x.deprecated ? `[${index}] [deprecated version]` : `[${index}] [${f0str},${srstr},${embedstr},${typestr}]`
|
const metadata = x.deprecated ? `[${index}] [deprecated version]` : `[${index}] [${f0str},${srstr},${embedstr},${typestr}]`
|
||||||
const tuning = `t:${x.defaultTune}`
|
const tuning = `t:${x.defaultTune}`
|
||||||
const useIndex = x.indexFile != null && x.featureFile != null ? `i:true` : `i:false`
|
const useIndex = x.indexFile != null ? `i:true` : `i:false`
|
||||||
const defaultIndexRatio = `ir:${x.defaultIndexRatio}`
|
const defaultIndexRatio = `ir:${x.defaultIndexRatio}`
|
||||||
const subMetadata = `(${tuning},${useIndex},${defaultIndexRatio})`
|
const subMetadata = `(${tuning},${useIndex},${defaultIndexRatio})`
|
||||||
const displayName = `${metadata} ${x.name || filename} ${subMetadata}`
|
const displayName = `${metadata} ${x.name || filename} ${subMetadata}`
|
||||||
|
Loading…
Reference in New Issue
Block a user