mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-03 08:43:57 +03:00
17 lines
472 B
Python
17 lines
472 B
Python
|
from const import EnumInferenceTypes, EnumEmbedderTypes
|
||
|
|
||
|
from dataclasses import dataclass
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class ModelSlot:
|
||
|
pyTorchModelFile: str = ""
|
||
|
pyTorchDiffusionModelFile: str = ""
|
||
|
defaultTrans: int = 0
|
||
|
# modelType: EnumDDSPSVCInferenceTypes = EnumDDSPSVCInferenceTypes.pyTorchRVC
|
||
|
# samplingRate: int = -1
|
||
|
# f0: bool = True
|
||
|
# embChannels: int = 256
|
||
|
# deprecated: bool = False
|
||
|
# embedder: EnumEmbedderTypes = EnumEmbedderTypes.hubert
|