Skip to content

valdezhq/transcript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Audio Transcription Script

Python script developed to automate the transcription of audio files into a .txt file using OpenAI's Whisper base model


Features

  • Automatically transcribes audio files from a specified folder.
  • Supports .mp3, .wav, and .m4a formats.
  • Saves transcriptions as .txt files in an output folder.
  • Displays processing time for each audio file.

Project Structure Example

Transcription/
│
├── transcribe.py
├── audios/
├── transcriptions/
├── assets/
│   └── transcription_sc.png
└── README.md

Technologies Used

  • Python
  • WhisperAI

How To Use

  1. Clone the repository
git clone git@github.com:leovaldezhq/transcript.git
  1. Install dependencies
pip install -U openai-whisper
  1. Place audio files in the audios folder

  2. Run the script

python transcribe.py
  1. Check the transcriptions folder for output .txt files

Example Output

Screenshot of Example Output

⚠️ FP16 warning is normal when running on CPU

About

Python script developed to automate the transcription of audio files into a .txt file using OpenAI's Whisper base model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages