This commit is contained in:
w-okada 2023-07-08 17:18:28 +09:00
parent 8ecc64d9a1
commit 130ae7e398
2 changed files with 10 additions and 3 deletions

View File

@ -88,6 +88,16 @@ body:
- "yes" - "yes"
validations: validations:
required: true required: true
- type: dropdown
id: extract-to-new-folder
attributes:
label: Extract files to a new folder.
description: Extract files from a zip file to a new folder, different from the previous version.(If you have.)
options:
- "no"
- "yes"
validations:
required: true
- type: input - type: input
id: vc-type id: vc-type
attributes: attributes:

View File

@ -106,10 +106,7 @@ class RVCModelSlotGenerator(ModelSlotGenerator):
for k, v in cpt["speaker_info"].items(): for k, v in cpt["speaker_info"].items():
slot.speakers[int(k)] = str(v) slot.speakers[int(k)] = str(v)
print("=========================> config::::::::::::1", cpt["config"])
print("=========================> config::::::::::::2", cpt["config"][-1])
slot.samplingRate = cpt["config"][-1] slot.samplingRate = cpt["config"][-1]
print("=========================> config::::::::::::3", slot.samplingRate)
del cpt del cpt