Spaces:
Sleeping
Sleeping
File size: 228 Bytes
d5d0921 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
from enum import Enum
from pydantic import BaseModel
class AudioFormat(str, Enum):
mp3 = "mp3"
wav = "wav"
class AdjustConfig(BaseModel):
pitch: float = 0
speed_rate: float = 1
volume_gain_db: float = 0
|