https://github.com/zuellni/xtts-server
XTTS server for SillyTavern.
https://github.com/zuellni/xtts-server
fastapi sillytavern xttsv2
Last synced: 8 months ago
JSON representation
XTTS server for SillyTavern.
- Host: GitHub
- URL: https://github.com/zuellni/xtts-server
- Owner: Zuellni
- License: mit
- Created: 2024-05-24T09:59:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-14T23:14:11.000Z (about 1 year ago)
- Last Synced: 2025-01-11T06:13:33.921Z (9 months ago)
- Topics: fastapi, sillytavern, xttsv2
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XTTS Server
An XTTS server with minimal requirements compatible with [SillyTavern](https://github.com/SillyTavern/SillyTavern).## Installation
Create a new environment with mamba:
```
mamba create -n xtts git python pytorch pytorch-cuda torchaudio -c conda-forge -c nvidia -c pytorch
mamba activate xtts
```Clone the repository and install requirements ([Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022) required on Windows):
```
git clone https://github.com/zuellni/xtts-server
cd xtts-server
pip install -r requirements.txt
```Optionally build [DeepSpeed](https://github.com/microsoft/DeepSpeed) on Windows ([CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) required):
```
git clone https://github.com/microsoft/deepspeed
cd deepspeed
build_win.bat
cd dist
pip install deepspeed-X.X.X-cpXXX-cpXXX-win_amd64.whl
```## Usage
Download [XTTS-v2](https://huggingface.co/coqui/XTTS-v2), get some speaker files and start the server:
```
cd xtts-server
git lfs install
git clone https://huggingface.co/coqui/xtts-v2 -b main --depth 1
python server.py -m xtts-v2 -s
```