How to use OpenAI Whisper on your Mac

Аватар автора
Python: новое поколение программистов
Donations accepted here: ------------------- OpenAI Whisper ==== Installation ==== 2. Install ffmpegbrew install ffmpeg 3. Enable “Private Sharing” on the Shortcuts app and then “Allow Running Scripts” 4. Download and install this shortcut: 5. Execute “Install WhisperAI M1” shortcut (also works on Intel computers) ==== Using Whisper on Intel Macs ==== 1. Make sure the file you want to transcribe does not contain space characters 2. Download and install this shortcut: 3. After you install it, just execute and choose the file you want to transcribe. The transcription files will appear in your downloads folder. Here’s an update: ==== Using Whisper on Apple Silicon Macs ==== 1. Get in the virtual environment — Open terminal and type the following commands: cd whispersource venv/bin/activate 2. Execute Whisper - transcription time! whisper file_path.extension --model tiny.en --output_dir /folder_path/ 3. If you audio is not in English then use --language to specify the language. 4. You can also just use the automatic mode, it will figure out the language by itself:whisper file_path.extension --output_dir /folder_path/ ==== Fix the SRT file ==== If you use SRT files and the whisper created SRT has some issue, use the Subtitle Tools website to clean up the SRT file. #macOS

0/0


0/0

0/0

0/0