voice-changer/server/voice_changer/RVC/RVCSlotInfo.py

29 lines
640 B
Python
Raw Normal View History

2023-06-15 18:56:18 +03:00
from dataclasses import dataclass
from voice_changer.VoiceChanger import SlotInfo
@dataclass
class RVCSlotInfo(SlotInfo):
modelFile: str = ""
indexFile: str = ""
defaultTune: int = 0
defaultIndexRatio: float = 0
defaultProtect: float = 1
isONNX: bool = False
modelType: str = ""
samplingRate: int = 40000
f0: bool = True
embChannels: int = 256
embOutputLayer: int = 12
useFinalProj: bool = False
deprecated: bool = False
embedder: str = ""
name: str = ""
description: str = ""
credit: str = ""
termsOfUseUrl: str = ""
sampleId: str = ""
iconFile: str = ""