Spaces:
Build error
Build error
A newer version of the Gradio SDK is available:
6.1.0
metadata
title: KaniTTS Web App
emoji: 🎤
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
KaniTTS Web App
A text-to-speech web application using KaniTTS model with Gradio interface.
Prerequisites
- Python 3.10 or higher
- PyTorch 2.8.0 or higher (requires Linux or Apple Silicon Mac)
Note: This app requires PyTorch 2.8+. macOS x86_64 (Intel) only supports up to PyTorch 2.2.2. For Intel Macs, please use a cloud platform.
Cloud Deployment
Google Colab
- Upload the files to Google Drive or clone from GitHub
- Run:
!pip install -r requirements.txt - Run:
!python app.py
Hugging Face Spaces
- Create a new Space with Gradio SDK
- Upload
app.pyandrequirements.txt - The app will automatically deploy
Replit
- Create a new Python Repl
- Upload the files
- Install dependencies:
pip install -r requirements.txt - Run:
python app.py
Local Installation (Linux/Apple Silicon)
# Clone the repository
git clone <your-repo-url>
cd tts-app
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the application
python app.py
Usage
- Open your browser and go to:
http://127.0.0.1:7860 - Enter the text you want to convert to speech
- Click the "Generate" button
- Listen to the generated audio
Model Information
- Model:
nineninesix/kani-tts-400m-en - Sample Rate: 22050Hz (model default)
- Language: English