mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
17 lines
366 B
Python
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 = []
|