voice-changer/server/voice_changer/Beatrice/BeatriceSettings.py
2023-08-09 16:55:59 +09:00

17 lines
366 B
Python

from dataclasses import dataclass, field
@dataclass
class BeatriceSettings:
# gpu: int = -9999
dstId: int = 0
modelSamplingRate: int = 48000
silentThreshold: float = 0.00001
speakers: dict[str, int] = field(default_factory=lambda: {})
intData = [
# "gpu",
"dstId",
]
floatData = ["silentThreshold"]
strData = []