This commit is contained in:
wataru 2023-06-26 01:10:39 +09:00
parent 21b9a9fe24
commit d3c971e033

View File

@ -42,9 +42,7 @@ class RVCModelSlotGenerator(ModelSlotGenerator):
slot.f0 = True if cpt["f0"] == 1 else False
slot.modelType = EnumInferenceTypes.pyTorchVoRASbeta.value
slot.embChannels = 768
slot.embOutputLayer = (
cpt["embedder_output_layer"] if "embedder_output_layer" in cpt else 9
)
slot.embOutputLayer = cpt["embedder_output_layer"] if "embedder_output_layer" in cpt else 9
slot.useFinalProj = False
slot.embedder = cpt["embedder_name"]