Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: OLLAMA
|
| 3 |
+
emoji: ๐ค
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# OLLAMA
|
| 12 |
+
|
| 13 |
+
A high-performance speech-to-text API built with FastAPI and faster-whisper.
|
| 14 |
+
|
| 15 |
+
## Features
|
| 16 |
+
|
| 17 |
+
- ๐ Fast transcription
|
| 18 |
+
- ๐ Auto language detection
|
| 19 |
+
- ๐ฎ๐ณ Hindi
|
| 20 |
+
- ๐ฌ๐ง English
|
| 21 |
+
- ๐ Hinglish
|
| 22 |
+
- ๐ค MP3, WAV, M4A, OGG, WebM, FLAC support
|
| 23 |
+
|
| 24 |
+
## API
|
| 25 |
+
|
| 26 |
+
### GET /
|
| 27 |
+
|
| 28 |
+
Returns API status.
|
| 29 |
+
|
| 30 |
+
### POST /transcribe
|
| 31 |
+
|
| 32 |
+
Upload an audio file using `multipart/form-data`.
|
| 33 |
+
|
| 34 |
+
Field name:
|
| 35 |
+
|
| 36 |
+
```
|
| 37 |
+
file
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
Example response:
|
| 41 |
+
|
| 42 |
+
```json
|
| 43 |
+
{
|
| 44 |
+
"success": true,
|
| 45 |
+
"language": "hi",
|
| 46 |
+
"language_probability": 0.998,
|
| 47 |
+
"text": "Hello bhai kaise ho"
|
| 48 |
+
}
|
| 49 |
+
```
|