mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-24 05:55:01 +03:00
20 lines
376 B
Python
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
|