Initial commit: media-to-text app
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user