Spaces:
Running on Zero
Running on Zero
File size: 1,369 Bytes
3bb26a1 fb7fd60 3bb26a1 fb7fd60 3bb26a1 fb7fd60 3bb26a1 fb7fd60 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ---
title: MOSS-TTS-PNY
emoji: ๐๏ธ
colorFrom: gray
colorTo: yellow
sdk: gradio
sdk_version: 6.15.1
app_file: app.py
short_description: Speaker-conditioned TTS with emotion & energy control
python_version: "3.12"
startup_duration_timeout: 1h
---
# MOSS-TTS-PNY
Speaker-conditioned text-to-speech demo using the [ZDisket/MOSS-TTS-PNY](https://huggingface.co/ZDisket/MOSS-TTS-PNY) model โ a fine-tuned MOSS-TTS checkpoint with character voice clones from My Little Pony: Friendship is Magic and Team Fortress 2.
## Features
- **43 speakers** โ MLP:FiM characters (Twilight, Pinkie, Rainbow, etc.) and TF2 characters (Heavy, Scout, Soldier, etc.)
- **12 emotions** โ Neutral, Happy, Sad, Angry, Annoyed, Fearful, Surprised, Calm, Disgusted, Whispering, Nonverbal, Shouting
- **Continuous energy control** โ adjust the energy/intensity of the generated speech (0.0 โ 1.0)
- **48 kHz output** via iSTFTNet2 TorchScript CUDA vocoder
## How it works
1. Enter the text you want to synthesize.
2. Pick a speaker from the dropdown.
3. Choose an emotion and set the energy level.
4. Click **Generate** to produce audio.
## Notes
- Uses `trust_remote_code=True` to load the custom MOSS-TTS model code.
- `transformers==4.55.0` is pinned to prevent gibberish outputs.
- The model downloads ~12 GB of weights at startup.
- Max 30 seconds of audio per generation. |