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.
-
Clone this repository:
git clone https://github.com/IgnoranceAI/hugh.git
-
Install the Python packages:
pip install -r requirements.txt
-
Add your API keys to
app.py
:
OPENAI_API_KEY = "YOUR API KEY HERE"
.
ELEVENLABS_API_KEY = "YOUR API KEY HERE"
- Start the Flask server:
python app.py
orflask run
- Open your web browser and navigate to http://localhost:5000.
- 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.
- Alternatively, type your question into the text box and click the “Ask” button to submit your question and generate a response.
- The response will appear in the area below the audio player. It will begin playing and typing once it is ready.
Record and Ask was created by Artificial Ignorance using Flask, OpenAI’s Whisper, OpenAI’s ChatGPT, and ElevenLabs.
This project is licensed under the MIT License - see the LICENSE file for details.