Skip to content

This project is a Flask-based API that summarizes YouTube video transcripts using the facebook/bart-large-cnn model from HuggingFace. It fetches the transcript from a given video URL, breaks it into chunks, summarizes each part in parallel, and returns a clean, concise summary.

Notifications You must be signed in to change notification settings

loopcraft3/Youtube-Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Transcript Summarizer

This project is a YouTube transcript summarizer built using Flask, the YouTube Transcript API, and Hugging Face Transformers. It fetches the transcript of a YouTube video and provides a concise summary of the content.

Overview

The YouTube Transcript Summarizer is designed to help users quickly understand the main points of lengthy YouTube videos by providing an automated summary of the video's transcript. This is particularly useful for educational content, lectures, and informational videos where key takeaways can save users time and enhance their learning experience.

Features

  • Transcript Retrieval: Utilizes the YouTube Transcript API to fetch transcripts of YouTube videos.
  • Summarization: Employs Hugging Face Transformers to generate concise summaries from the fetched transcripts.
  • Web Interface: Provides a simple web interface for users to input YouTube video URLs and view summaries.
  • RESTful API: Offers an API endpoint for programmatic access to the summarization functionality.

Usage

Web Interface

  1. Open the web application: Navigate to the local address where the Flask server is running.
  2. Enter YouTube video URL: Input the URL of the YouTube video you wish to summarize.
  3. View the summary: The application will display the transcript and its summary on the web page.

Technologies Used

  • Flask: A lightweight WSGI web application framework in Python for building the web interface and API.
  • YouTube Transcript API: A service for retrieving the transcript of a given YouTube video.
  • Hugging Face Transformers: A library providing state-of-the-art natural language processing models for tasks such as summarization.

Contributing

Contributions to the project are welcome. Whether it’s bug fixes, feature enhancements, or documentation improvements, feel free to fork the repository and submit a pull request with your changes.

About

This project is a Flask-based API that summarizes YouTube video transcripts using the facebook/bart-large-cnn model from HuggingFace. It fetches the transcript from a given video URL, breaks it into chunks, summarizes each part in parallel, and returns a clean, concise summary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published