Giter Site home page Giter Site logo

deepgram-api-auto's Introduction

Deepgram API Auto Transcription

A simple and easy-to-use audio transcription app that uses Deepgram's API to transcribe audio files and calculate the transcription cost, automatically. It makes use of their latest model, Nova.

This implementation uses their paragraphs features, which is not available with OpenAI's Whisper. Using paragraphs in transcriptions enhances readability by providing structure and organization..

Requirements

  • Python 3.10 or higher
  • Poetry

Features

  • Supports MP3, WAV, M4A and many more audio formats.
  • Automatically transcribes all valid audio files in the input folder.
  • Calculates the cost of each transcription based on the audio duration ($0.0043 currently).
  • Saves transcriptions and costs in separate text files in the output folder.

Installation

  1. Clone this repository and navigate to the project folder
git clone [email protected]:sdevgill/deepgram-api-auto.git
cd deepgram-api-auto
  1. Run poetry install to install the dependencies
poetry install
  1. Activate the virtual environment
poetry shell

Usage

  1. Create an .env file in the project folder from the .env.example file
cp .env.example .env
  1. Add your Deepgram API key to the .env file
DEEPGRAM_API_KEY=your-api-key
  1. Create an input folder in the project folder and add your audio files to it

  2. Run the app

python app.py

deepgram-api-auto's People

Contributors

sdevgill avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.