Initial commit: media-to-text app

This commit is contained in:
Gan, Jimmy
2026-02-08 23:26:40 +08:00
commit b155e85040
44 changed files with 1396 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Media to Text Converter
Convert audio files to text locally or in the browser.
## Browser Usage
Open `index.html` in Chrome or Edge:
- **Upload Audio**: Select an audio file (MP3, WAV, M4A, etc.) for transcription
- **Live Recording**: Click "Start Recording" to record and transcribe live audio
## Local Usage (Python)
For transcribing audio files using Python.
Install dependencies:
```bash
pip install -r requirements.txt
```
Transcribe a file:
```bash
python transcribe.py audio.mp3
```
## Server Mode
Run Flask server for API access:
```bash
python server.py
```
Server runs on http://127.0.0.1:5000
**Note**: Server only accepts audio files (not video) per project rules.