Skip to main content

Tortoise TTS Extension for TTS-WebUI

License - the source code within this repository is licensed under the MIT license.

This extension provides a high-quality text-to-speech model with voice cloning capabilities.

Features

  • High-quality speech synthesis
  • Voice cloning capabilities
  • Multiple quality presets (ultra_fast, fast, standard, high_quality)
  • Adjustable parameters for both autoregressive and diffusion models
  • Support for custom models and tokenizers
  • Split prompt functionality for long text

Usage

  1. Select a model (Default or custom)
  2. Choose a voice from the dropdown or upload your own voice samples
  3. Select a preset quality level
  4. Adjust parameters as needed
  5. Enter your text in the prompt field
  6. Click "Generate" to create speech

Advanced Options

Model Settings

  • KV Cache: Enable for faster inference at the cost of more VRAM
  • DeepSpeed: Enable for optimized performance on supported hardware
  • Half Precision: Enable for reduced memory usage
  • Custom Tokenizer: Upload a custom tokenizer file for specialized use cases

Autoregressive Parameters

  • Num Autoregressive Samples: Higher values produce better quality but slower generation
  • Temperature: Controls randomness in the autoregressive model
  • Length Penalty: Penalizes longer sequences
  • Repetition Penalty: Discourages repetitive outputs
  • Top P: Controls diversity of outputs
  • Max Mel Tokens: Maximum length of generated speech

Diffusion Parameters

  • Diffusion Iterations: Higher values produce better quality but slower generation
  • Cond Free: Enable for better quality
  • Cond Free K: Controls the strength of conditioning
  • Temperature: Controls randomness in the diffusion model

This extension uses the Tortoise TTS model.

Bundled UI

The extension ships a page for TTS-WebUI's own renderer, in tts_webui_extension/tortoise_tts/ui/:

  • extension.json: the record (what the page may call and use). It names only routes the app lists for pages.
  • page.json: the page, built from ui-src/page.tsx (the same fields and ranges as the app's Tortoise page: model and speaker menus, presets, the autoregressive and diffusion sliders, tokenizer upload, seed, history).
  • views.json: which views of the engine's page this extension supports and prefers, in order. supported and preferred use the app's view names: classic (Gradio's own page), mirror and lite (the app's renderer on Gradio or on the Gradio-free shim), custom and bundled. The app opens on the first preferred view it can show, dims the others, and lets the user override it in the engine's settings. Here: all of classic, mirror, lite and bundled are supported; classic is preferred, then bundled.

TTS-WebUI finds it in this package's environment and shows it as the Bundled view of the engine's page (/python/tortoise_tts?stage=bundled); there is nothing to install separately. It is data the app checks, with no code of its own, and it works only in an app that lists the routes it calls. pyproject.toml ships ui/*.json and ui/*.js as package data.

To change it, edit ui-src/page.tsx, build it with the app's compiler (node frontend/packages/ui-json/bin/ui-json.mjs ui-src/page.tsx --trust untrusted) and copy the page.json it writes into tts_webui_extension/tortoise_tts/ui/.

Metadata

Release files for tts-webui-extension.tortoise-tts 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tts-webui-extension.tortoise-tts 0.2.4
File Interpreter ABI Platform Actions
tts_webui_extension_tortoise_tts-0.2.4-py3-none-any.whl Python 3 none any Details for tts_webui_extension_tortoise_tts-0.2.4-py3-none-any.whl

Release files / tts_webui_extension_tortoise_tts-0.2.4-py3-none-any.whl

Download URL tts_webui_extension_tortoise_tts-0.2.4-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
785f6c448e29f87f1f073a839d6bfb83797018774ededbf3e19fd830f0a8f81e
BLAKE2b-256 checksum
How to use checksums
30850c828dfbee7a69e26ea5eae3c04176a1ac1667c7ccf6a840b83d2599f49f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for tts-webui-extension.tortoise-tts 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page