https://github.com/prcutler/podcast-transcriber
Audio transcription based on Assembly AI's Python in 5 Minutes tutorial
https://github.com/prcutler/podcast-transcriber
Last synced: 3 months ago
JSON representation
Audio transcription based on Assembly AI's Python in 5 Minutes tutorial
- Host: GitHub
- URL: https://github.com/prcutler/podcast-transcriber
- Owner: prcutler
- License: mit
- Created: 2022-11-12T02:01:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T02:17:42.000Z (over 2 years ago)
- Last Synced: 2025-01-31T03:32:11.596Z (4 months ago)
- Language: Python
- Size: 2.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# podcast-transcriber
Audio transcription based on [Assembly AI's Python in 5 Minutes tutorial](https://github.com/AssemblyAI-Examples/assemblyai-and-python-in-5-minutes)This adds SRT export in addition to the TXT transcription. After running `transcribe.py` two files will be saved:
* transcript.txt
* subtitles.srt## TO-DO
- [ ] Automatic filename based on MP3 filename## Requirements
```console
$ pip install requests
```## Usage:
If your AssemblyAI API key is stored as an environment variable called `AAI_API_KEY` file, then you can omit the optional `--api_key` argument.
```console
$ python transcribe.py audio_file [--local] [--api_key="]
```Example for hosted file:
```console
$ python transcribe.py https://github.com/AssemblyAI-Examples/assemblyai-and-python-in-5-minutes/raw/main/audio.mp3 --api_key=
```Example for local file:
```console
$ python transcribe.py audio.mp3 --local --api_key=