Spaces:
Build error
Build error
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,20 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Nigerian Text-to-Speech API
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
## Features
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
- Built with FastAPI and YarnGPT
|
| 10 |
|
| 11 |
## API Endpoints
|
| 12 |
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Nigerian Text-to-Speech API
|
| 3 |
+
emoji: 🎙️
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
# Nigerian Text-to-Speech API
|
| 12 |
|
| 13 |
+
A FastAPI-based Text-to-Speech API that generates Nigerian-accented speech from text input.
|
| 14 |
|
| 15 |
## Features
|
| 16 |
+
- Convert text to speech with Nigerian accents
|
| 17 |
+
- RESTful API endpoints
|
| 18 |
+
- Docker containerized deployment
|
| 19 |
- Built with FastAPI and YarnGPT
|
| 20 |
|
| 21 |
## API Endpoints
|
| 22 |
|
| 23 |
+
### Health Check
|
| 24 |
+
- `GET /` - Check API status
|
| 25 |
+
|
| 26 |
+
### Text to Speech
|
| 27 |
+
- `POST /tts` - Convert text to speech
|
| 28 |
+
- Request body: `{"text": "Your text here", "accent": "nigerian"}`
|
| 29 |
+
- Returns: Audio file (WAV format)
|
| 30 |
+
|
| 31 |
+
### Audio Management
|
| 32 |
+
- `GET /list_files` - List available audio files
|
| 33 |
+
- `GET /audio/{file_id}` - Get specific audio file
|
| 34 |
+
|
| 35 |
+
## Environment
|
| 36 |
+
- Python 3.9
|
| 37 |
+
- FastAPI
|
| 38 |
+
- YarnGPT for TTS generation
|
| 39 |
+
- Docker containerized
|
| 40 |
|
| 41 |
+
Last updated: 2025-04-22 05:09:31 UTC
|
| 42 |
+
Created by: Abdulhameed556
|
| 43 |
|
| 44 |
+
For more information about this project, visit [Hugging Face Spaces](https://huggingface.co/spaces/Hameed13/Huggingface_News_Podcast)
|