The Smart Ubiquitous Speaker is a smart speaker that leverages GPT4 to complete audio prompts, similar to a Google Home or Amazon Alexa. This was also my submission for Hack The Hill '23. Enjoy poking around the codebase and finding the weird and janky solutions I had to come up with within 48 hours :D.
- Clone the repository
git clone https://github.com/EliasJRH/S.U.S.git
- Change directory into the repository
cd S.U.S
- Setup a virtual environment
python3 -m venv venv
- Activate the virtual environment
If on Windows:
Set-ExecutionPolicy Unrestricted -Scope Process
venv\Scripts\activate
If on Mac/Linux:
source venv/bin/activate
- Install the requirements
pip install -r requirements.txt
- Run the program
python main.py
*Note: In order to run the program, you will need to have a GPT API key. You can get one here. Once you have the key, create a file called .env
in the root directory of the project and add the following line:
OPENAI_API_KEY=YOUR_API_KEY
This program requires access to a microphone.