Giter Site home page Giter Site logo

rafaykhattak / youtubegpt Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 0.0 7 KB

YoutubeGPT is a web application powered by OpenAI's Whisper model for speech recognition and GPT-3 for text summarization. It extracts transcriptions from YouTube videos and provides users with concise summaries based on the video content.

Home Page: https://rafaykhattak-youtubegpt-app-1ovyiq.streamlit.app/

Python 100.00%
deep-neural-networks ffmpeg gpt-3 pytube whisper-ai

youtubegpt's Introduction

YoutubeGPT

YoutubeGPT is a web application that utilizes OpenAI's state-of-the-art models to enhance the accessibility and comprehension of YouTube videos. By leveraging the power of Whisper, a general-purpose speech recognition model, and GPT-3, a language model capable of generating human-like text, YoutubeGPT extracts transcriptions from YouTube videos and provides users with concise and accurate summaries based on the video content. Screenshot (455)

Features

  • Speech Recognition: YoutubeGPT employs OpenAI's Whisper model to transcribe the audio content of YouTube videos, ensuring accurate and reliable speech-to-text conversion.

  • Summarization: Leveraging GPT-3, YoutubeGPT generates concise summaries of the video content, enabling users to quickly grasp the main points without having to watch the entire video.

  • User-Friendly Interface: The web application offers a user-friendly interface where users can simply enter the URL of the YouTube video they want to process and receive the transcription and summarized text promptly.

Getting Started

To run YoutubeGPT locally, follow these steps:

  1. Clone this repository to your local machine.

  2. Install the required dependencies by running pip install -r requirements.txt.

  3. Install ffmpeg, which is required for audio processing. You can download ffmpeg from the official website (https://ffmpeg.org/) and add it to the environment variable path.

  4. Set up your OpenAI API key by following the instructions in the .env.example file.

  5. Run the application using the command streamlit run app.py.

  6. Access the web application in your browser at http://localhost:8501.

Technologies Used

  • Python
  • OpenAI Whisper
  • OpenAI GPT-3
  • Streamlit

Limitations

Please note the following limitations of YoutubeGPT:

  • The accuracy of speech recognition may vary depending on the quality of audio in the YouTube video.
  • GPT-3 summarization is based on the extracted transcription and may not capture all nuances or context from the video.
  • Due to OpenAI API limits, there may be restrictions on the number of API calls that can be made.

License

YoutubeGPT is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.

Acknowledgements

  • This project utilizes OpenAI's Whisper and GPT-3 models. Special thanks to OpenAI for providing access to these powerful AI technologies.

  • The web application is built using Streamlit, a fantastic framework for creating interactive data applications in Python.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.