Giter Site home page Giter Site logo

audio-transcription-bot's Introduction

Audio Transcription WhatsApp Bot

A simple Flask application that allows users to send audio messages through WhatsApp and receive the transcribed text as a response, using OpenAI’s Whisper.

Prerequisites

Setup

  1. Clone this repository and navigate to the project directory.
  2. Install the required packages using pip:

pip install -r requirements.txt

  1. Set up a Twilio account and WhatsApp API sandbox.
  2. Create a file named .env in the root of the project directory and set the following environment variables:
ACCOUNT_SID=YOUR_TWILIO_ACCOUNT_SID
AUTH_TOKEN=YOUR_TWILIO_AUTH_TOKEN
FROM=YOUR_TWILIO_PHONE_NUMBER
  1. Run the application
  2. Expose the application using ngrok:

ngrok http 5000

  1. Make sure to follow the instructions in the Twilio documentation to set up your sandbox phone number and configure the webhook for incoming messages.

Usage

  1. Send an audio message to the configured sandbox phone number through WhatsApp.
  2. The application will transcribe the audio and send the transcribed text back as a response.

audio-transcription-bot's People

Contributors

paratustra 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.