This application allows users to generate transcripts and summaries for YouTube videos by providing a video URL. It leverages the YouTubeTranscriptApi for fetching transcripts and a transformer model for summarization. Users can also download the transcript and summary as text files.
$ git clone <repository-url>
$ cd <repository-folder>
$ python -m venv venv
$ source venv/bin/activate # On macOS/Linux
$ venv\Scripts\activate # On Windows
$ pip install -r requirements.txt
$ python app.py
Access the application in your browser at http://127.0.0.1:5000.
app.py: The main application file.templates/index.html: The HTML template for the web interface.static: Folder for static files (e.g., CSS, JavaScript, images)..gitignore: To exclude unnecessary files (e.g., venv, __pycache__, etc.) from version control..gitignoreEnsure your .gitignore includes:
venv/
__pycache__/
*.pyc
.DS_Store
$ git init
$ git add .
$ git commit -m "Initial commit"
$ git remote add origin <repository-url>
$ git branch -M main
$ git push -u origin main
Settings > Pages.main) and folder (/ (root) or /docs if applicable).requirements.txt for easy setup.