This project is to create a better way to find the answers you're looking for from specific youtubers. You select a channel from the dropdown and then ask the question you want. You will be presented with a plain text answer and a selection of related videos you can watch if you would like further information
Demo:
Screen.Recording.2023-06-11.at.19.06.09.mov
- Install
python 3.8.5
- Install
pip
- Install
virtualenv
by running:
pip install virtualenv
- Create a virtual environment by running:
python3 -m venv env
- Activate the virtual environment by running:
source env/bin/activate
- Install the dependencies by running:
pip install -r requirements.txt
-
Copy the
.env.example
file to.env
and fill in the appropriate values -
To deactivate the virtual environment run:
deactivate
- Assign the constants in
populate_db.py
to the appropriate values tochannel_id
andchannel_name
inmain()
- Navigate to the
backend
directory by running:
cd backend
- Run:
python populate_db.py
- Ensure all dependencies are installed by running:
pip install -r requirements.txt
- In the root of the repository run:
streamlit run app.py
- Enter your OpenAI API key where indicated