Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,33 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
- **Base Model:** `kenpath/svara-tts-v1` (Llama-based architecture predicting discrete audio codes).
|
| 7 |
-
- **Vocoder:** `SNAC` (Multi-Scale Neural Audio Codec) at 24kHz.
|
| 8 |
-
- **Adaptation:** 11 LoRA adapters loaded dynamically at runtime to minimize VRAM usage.
|
| 9 |
-
- **Serving:** FastAPI server exposing a REST endpoint.
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
Generates audio from text for a specific language.
|
| 15 |
|
| 16 |
-
|
| 17 |
-
- `text` (string): The text to synthesize.
|
| 18 |
-
- `language` (string): The language code (matches the adapter folder names, e.g., `hi`, `bn`).
|
| 19 |
|
| 20 |
-
**
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "Submission – Svara TTS API"
|
| 3 |
+
emoji: 🎙️
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: true
|
| 8 |
+
app_file: Dockerfile
|
| 9 |
+
---
|
| 10 |
|
| 11 |
+
# 🎤 Svara TTS – Team Submission (FastAPI)
|
| 12 |
|
| 13 |
+
This Space hosts the **Svara Text-to-Speech inference server** built using:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
- **FastAPI** (HTTP API)
|
| 16 |
+
- **Llama-based Svara TTS model**
|
| 17 |
+
- **SNAC 24kHz decoder (vocoder)**
|
| 18 |
+
- **LoRA adapters** for multilingual synthesis
|
| 19 |
+
- **Dynamic adapter auto-discovery**
|
| 20 |
|
| 21 |
+
This Space is designed **specifically for judges** to test multilingual TTS output.
|
|
|
|
| 22 |
|
| 23 |
+
---
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
## 🚀 **Features**
|
| 26 |
+
|
| 27 |
+
### ✔️ FastAPI backend
|
| 28 |
+
Accessible programmatically using POST requests.
|
| 29 |
+
|
| 30 |
+
### ✔️ Auto-discovers adapters
|
| 31 |
+
Any folder inside `./adapters/<lang-code>/` is automatically loaded.
|
| 32 |
+
|
| 33 |
+
Example:
|