Initial commit: per-language Chatterbox TTS demo
Browse filesFiles changed (3)
- README.md+8-8
- app.py+3-3
- chatterbox/src/chatterbox/tts.py+5-5
123452 unmodified lines89101112131415161718192021222324---title: Chatterbox-Multilingual-TTS-AllLang-Demoemoji: ๐colorFrom: indigocolorTo: blue2 unmodified linespython_version: "3.10"app_file: app.pypinned: falseshort_description: "Chatterbox TTS โ language-agnostic AllLang model."models:- ResembleAI/Chatterbox-Multilingual-AllLang- ResembleAI/Chatterbox-Multilingual-AllLang---# Chatterbox Multilingual TTS โ Language-Agnostic (AllLang)Chatterbox TTS โ language-agnostic AllLang model.Powered by [`ResembleAI/Chatterbox-Multilingual-AllLang`](https://huggingface.co/ResembleAI/Chatterbox-Multilingual-AllLang).Base components reused from [`ResembleAI/Chatterbox-Multilingual-AllLang`](https://huggingface.co/ResembleAI/Chatterbox-Multilingual-AllLang).Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123452 unmodified lines89101112131415161718192021222324---title: Chatterbox-Multilingual-TTS-V3emoji: ๐colorFrom: indigocolorTo: blue2 unmodified linespython_version: "3.10"app_file: app.pypinned: falseshort_description: "Chatterbox Multilingual TTS V3 (t3_mtl23ls_v3)."models:- ResembleAI/chatterbox- ResembleAI/chatterbox---# Chatterbox Multilingual TTS V3Chatterbox Multilingual TTS V3 (t3_mtl23ls_v3).Powered by [`ResembleAI/chatterbox`](https://huggingface.co/ResembleAI/chatterbox).Base components reused from [`ResembleAI/chatterbox`](https://huggingface.co/ResembleAI/chatterbox).Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
80 unmodified lines81828384858687888980 unmodified lineswith gr.Blocks() as demo:gr.Markdown("""# Chatterbox Multilingual TTS โ Language-Agnostic (AllLang)Chatterbox TTS โ language-agnostic AllLang model.Powered by model [`ResembleAI/Chatterbox-Multilingual-AllLang`](https://huggingface.co/ResembleAI/Chatterbox-Multilingual-AllLang).""")with gr.Row():80 unmodified lines81828384858687888980 unmodified lineswith gr.Blocks() as demo:gr.Markdown("""# Chatterbox Multilingual TTS V3Chatterbox Multilingual TTS V3 (t3_mtl23ls_v3).Powered by model [`ResembleAI/chatterbox`](https://huggingface.co/ResembleAI/chatterbox).""")with gr.Row():
17 unmodified lines181920212223242526272817 unmodified linesfrom .models.t3.modules.cond_enc import T3CondREPO_ID = "ResembleAI/Chatterbox-Multilingual-AllLang"BASE_REPO_ID = "ResembleAI/Chatterbox-Multilingual-AllLang"T3_FILENAME = "t3_alllang.safetensors"TOKENIZER_FILENAME = "mtl_tokenizer.json"T3_TEXT_VOCAB_SIZE = 2352def punc_norm(text: str) -> str:17 unmodified lines181920212223242526272817 unmodified linesfrom .models.t3.modules.cond_enc import T3CondREPO_ID = "ResembleAI/chatterbox"BASE_REPO_ID = "ResembleAI/chatterbox"T3_FILENAME = "t3_mtl23ls_v3.safetensors"TOKENIZER_FILENAME = "grapheme_mtl_merged_expanded_v1.json"T3_TEXT_VOCAB_SIZE = 2454def punc_norm(text: str) -> str:
README.md+8-8
app.py+3-3
chatterbox/src/chatterbox/tts.py+5-5