--- title: Offex Voice Studio emoji: 🎙️ colorFrom: indigo colorTo: pink sdk: gradio sdk_version: 5.45.0 app_file: app.py pinned: false --- # Offex Voice Studio Premium Gradio interface for high-fidelity voice cloning with IndexTTS-2. ## Quota-smart design - All pip installs and the full model snapshot (main + auxiliary models, ~8 GB) are downloaded by a background warm-up thread on the CPU at Space startup, so the ZeroGPU allocation is used only for synthesis. - The GPU duration is estimated per request from the input length instead of a fixed value, so visitors only reserve the quota they actually need. ## Quality features - Reference clips are automatically trimmed of silence, capped to 20 seconds and peak-normalised for a closer clone. - Optional emotion reference and text-derived emotion controls. - Seed control for reproducible generations. ## Runtime notes The Space SDK is pinned to Gradio 5.45.0 to stay on the huggingface-hub 0.x line required by the official IndexTTS 4.52.1 stack. The static requirements file intentionally omits gradio, spaces, transformers and tokenizers; those are supplied by the Space runtime or installed lazily with --no-deps. tensorboard is pinned to 2.18.0 for NumPy 2.x compatibility (2.9.1 crashed on the removed `np.bool8` alias), and app.py also re-adds the alias defensively for any other legacy dependency. Upload or record a reference voice, enter English text, confirm the permission checkbox, and press Generate Voice.