Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: EsfandTTS
|
| 3 |
+
emoji: 🎙️
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.50.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
short_description: Qwen3-TTS voice clone (esfand, knut, xqc)
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# EsfandTTS — Qwen3-TTS voice clone
|
| 14 |
+
|
| 15 |
+
Voice cloning with [Qwen3-TTS-12Hz-0.6B-Base](https://huggingface.co/Qwen/Qwen3-TTS-12Hz-0.6B-Base).
|
| 16 |
+
Cloned voices are built from 12-second reference clips in `voices/` with Whisper
|
| 17 |
+
transcripts (`voices/transcripts.json`) for in-context cloning.
|
| 18 |
+
|
| 19 |
+
## API
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from gradio_client import Client
|
| 23 |
+
|
| 24 |
+
client = Client("trinitytf/EsfandTTS", hf_token="hf_...") # token needed if private
|
| 25 |
+
audio_path = client.predict(
|
| 26 |
+
"Hello chat, this is a test.", # text
|
| 27 |
+
"esfand", # voice: esfand / knut / xqc
|
| 28 |
+
"English", # language
|
| 29 |
+
api_name="/predict",
|
| 30 |
+
)
|
| 31 |
+
print(audio_path) # local path to the generated wav
|