voice-changer/server/voice_changer/utils/LoadModelParams.py
2023-05-09 01:16:13 +09:00

20 lines
376 B
Python

from dataclasses import dataclass
from typing import Any
@dataclass
class FilePaths:
configFilename: str | None
pyTorchModelFilename: str | None
onnxModelFilename: str | None
clusterTorchModelFilename: str | None
featureFilename: str | None
indexFilename: str | None
@dataclass
class LoadModelParams:
slot: int
isHalf: bool
params: Any