mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-27 05:25:19 +03:00
20 lines
332 B
Python
20 lines
332 B
Python
|
from dataclasses import dataclass
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class FilePaths:
|
||
|
configFilename: str
|
||
|
pyTorchModelFilename: str
|
||
|
onnxModelFilename: str
|
||
|
clusterTorchModelFilename: str
|
||
|
featureFilename: str
|
||
|
indexFilename: str
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class LoadModelParams:
|
||
|
slot: int
|
||
|
isHalf: bool
|
||
|
files: FilePaths
|
||
|
params: str
|