Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshp19 committed Dec 24, 2024
1 parent a22dfb6 commit b216d22
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
from pyht.client import Format # type: ignore

TTSModel = Literal["Play3.0-mini-ws", "PlayDialog-ws", "Play3.0-mini", "PlayDialog"]
FORMAT = Literal["raw", "mp3", "wav", "ogg", "flac", "mulaw", "pcm"]
FORMAT = Literal["mp3"]
format_mapping = {
"raw": Format.FORMAT_RAW,
"mp3": Format.FORMAT_MP3,
"wav": Format.FORMAT_WAV,
"ogg": Format.FORMAT_OGG,
"flac": Format.FORMAT_FLAC,
"mulaw": Format.FORMAT_MULAW,
"pcm": Format.FORMAT_PCM,
}

0 comments on commit b216d22

Please sign in to comment.