Skip to content

aymnms/transcriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT


Logo

transcriber

A simple, lightweight application for transcribing audio files into text with Whisper (OpenAI).

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. License

About The Project

A simple, lightweight application for transcribing audio files into text with Whisper (OpenAI).

(back to top)

Download

Download the latest version (.app / .exe)

(back to top)

Usage

Main window

main window

Select audio

Clic on "choisir un fichier audio" and select your audio that you want transcribe.

select audio

Select model

Clic on "Modèle" and select the whisper model that you want to use to transcribe your audio. A 'model' is like a 'version' of an ai. More you use a big version, better the result will be. But it will takes more times. Of course, the duration of the audio has also an impact on the duration of the transcription.

select model

Wait the moment

PS: close this window don't stop the transcription.

window wait

Done!

This window indicate the transcription is done! You can find a txt file content the transcription at the indicate location.

window done

Transcription content

transcription content

Audio test

audio

(back to top)

Features

  • Simple graphical interface with Tkinter
  • Support for a wide range of audio formats
  • Transcription with Whisper templates (from tiny to large)
  • Runs on macOS and Windows

(back to top)

Getting Started

Built With

(back to top)

Prerequisites

Need to install Python and Tkinter.

(back to top)

Installation

  1. Clone the project
git clone [email protected]:aymnms/transcriber.git
  1. Install pip dependences
cd transcriber
source .venv/bin/activate
pip install -r requirements.txt
  1. Run the program
python3 app_whisper.py

(back to top)

Generate app

Generate icns

mkdir MyIcon.iconset
sips -z 16 16     assets/logo.png --out MyIcon.iconset/icon_16x16.png
sips -z 32 32     assets/logo.png --out MyIcon.iconset/[email protected]
sips -z 32 32     assets/logo.png --out MyIcon.iconset/icon_32x32.png
sips -z 64 64     assets/logo.png --out MyIcon.iconset/[email protected]
sips -z 128 128   assets/logo.png --out MyIcon.iconset/icon_128x128.png
sips -z 256 256   assets/logo.png --out MyIcon.iconset/[email protected]
sips -z 256 256   assets/logo.png --out MyIcon.iconset/icon_256x256.png
sips -z 512 512   assets/logo.png --out MyIcon.iconset/[email protected]
sips -z 512 512   assets/logo.png --out MyIcon.iconset/icon_512x512.png
cp assets/logo.png                MyIcon.iconset/[email protected]
iconutil -c icns MyIcon.iconset

(back to top)

For Macos (ARM)

Only on Mac ARM

Generate into a dist folder

pyinstaller --windowed --onedir app_whisper.py --name "Transcriber (ARM)" --icon assets/MyIcon.icns

(back to top)

For Macos (Intel)

This version can be readable on macos intel AND macos arm.

Generate into a dist folder

arch -x86_64 pyinstaller --windowed --onedir app_whisper.py --name "Transcriber  (Intel)" --icon assets/MyIcon.icns

⚠️ On Mac ARM, if you want to generate an app for Mac Intel, you need to reinstall the project with Rosetta to virtualise an Intel architecture.

  1. Quit your terminal and reopen it with Rosetta

Open terminal with Rosetta

  1. Recreate a venv only for intel version
python3 -m venv .venv-intel
  1. Use this venv
source .venv-intel/bin/activate
  1. Install pip dependence (with arch environment, for intel)
pip install -r requirements.txt
  1. Generate a .app for Intel (from Mac ARM to Mac Intel also compatible with Mac ARM)
arch -x86_64 pyinstaller --windowed --onedir app_whisper.py --name "Transcriber (Intel)" --icon assets/MyIcon.icns

(back to top)

License

Distributed under the MIT. See LICENSE for more information.

(back to top)

About

application using open-ai's whisper to transcribe audio into text

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages