Skip to content

Possibly a prototype of how to improve YouTube search?

Notifications You must be signed in to change notification settings

sa64r/education-youtuber-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Education YouTuber GPT

Main

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

Setting up the environment:

  1. Install python 3.8.5
  2. Install pip
  3. Install virtualenv by running:
pip install virtualenv
  1. Create a virtual environment by running:
python3 -m venv env
  1. Activate the virtual environment by running:
source env/bin/activate
  1. Install the dependencies by running:
pip install -r requirements.txt
  1. Copy the .env.example file to .env and fill in the appropriate values

  2. To deactivate the virtual environment run:

deactivate

To add a new youtube channel to the db do the following:

  1. Assign the constants in populate_db.py to the appropriate values to channel_id and channel_name in main()
  2. Navigate to the backend directory by running:
cd backend
  1. Run:
python populate_db.py

To run the app:

  1. Ensure all dependencies are installed by running:
pip install -r requirements.txt
  1. In the root of the repository run:
streamlit run app.py
  1. Enter your OpenAI API key where indicated

About

Possibly a prototype of how to improve YouTube search?

Topics

Resources

Stars

Watchers

Forks

Languages