This project utilizes the power of GPT-3.5 to generate concise and informative summaries for YouTube videos. This repository contain both frontend(HTML/CSS/JS) and backend(Flask).
Visit this link for live demo: https://summarizeyoutube.netlify.app/
screen-capture.mp4
For the frontend of YouTube Video Summarizer, you'll need Node.js and npm (Node Package Manager) which is included with Node.js. Here is how you can install these prerequisites:
- Download and install Node.js from https://nodejs.org/.
- Verify the installation by running the following commands in your terminal or command prompt:
node -v npm -v
Parcel is used as the bundler for the project.
- Clone the project:
git clone https://github.com/UmerrAli/YouTube-Summarizer
- Install dependencies using npm:
npm install
- To start a development server
This will start the development server at http://localhost:1234. Open this URL in your browser to view the application. http://localhost:1234/
npm start
- Make sure Python is installed on your machine. You can download it from https://www.python.org/.
- Verify the installation by running the following command in your terminal or command prompt:
python3 --version
Create a virtual environment
python3 -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
Install dependencies
pip install -r requirements.txt
Open the config.py file and add your OpenAI API key. If you don't have an API key, you can obtain one from the OpenAI platform.
API_KEY = 'YOUR_API_KEY'
After setting up the environment and adding the API key, you can run the Flask application:
flask run
The backend server will be running at http://127.0.0.1:5000/. Make sure the backend is running before testing the frontend.