Skip to content

A voice-powered AI built with Whisper, ChatGPT, and ElevenLabs

License

Notifications You must be signed in to change notification settings

IgnoranceAI/hugh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask Hugh

Ask Hugh is a web application that allows you to record audio, transcribe it, and then ask a question based on the transcription. The application uses the Whisper API, the ChatGPT API, and the ElevenLabs API.

Installation

  1. Clone this repository: git clone https://github.com/IgnoranceAI/hugh.git

  2. Install the Python packages: pip install -r requirements.txt

  3. Add your API keys to app.py:
    OPENAI_API_KEY = "YOUR API KEY HERE".
    ELEVENLABS_API_KEY = "YOUR API KEY HERE"

Usage

  1. Start the Flask server: python app.py or flask run
  2. Open your web browser and navigate to http://localhost:5000.
  3. Click the “Record” button to start recording audio. Speak into your microphone and then click the button again when you’re done. The transcription will appear in the text box.
  4. Alternatively, type your question into the text box and click the “Ask” button to submit your question and generate a response.
  5. The response will appear in the area below the audio player. It will begin playing and typing once it is ready.

Credits

Record and Ask was created by Artificial Ignorance using Flask, OpenAI’s Whisper, OpenAI’s ChatGPT, and ElevenLabs.

License

This project is licensed under the MIT License - see the LICENSE file for details.