Coder Social home page Coder Social logo

brgraul / podcast-summarizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kyon-eth/podcast-summarizer

0.0 0.0 0.0 11.97 MB

Summarises podcasts from Youtube or Spotify using the new Whisper and GPT3 chat APIs from OpenAI

License: MIT License

Python 1.00% Jupyter Notebook 87.07% HTML 11.93%

podcast-summarizer's Introduction

Podcast Summarizer

Podcast Summarizer

This is a python script that can download the audio for a given podcast source from either YouTube or Spotify, convert the speech to text via OpenAI's Whisper API, summarize the text via OpenAI's GPT3 API (using either the GPT3 chat model or GPT3 Davinci text model), and chunk everything to fit within the limits of Whisper and GPT3 APIs.

Installation

To use this script, you will need to install the necessary requirements. You can do this by running the following command in your terminal:

pip install -r requirements.txt

Usage

To use this script, you will need to add your YouTube / Spotify URL to the summarizer.py file. Then, you can run the script by running the following command in your terminal:

python summarizer.py

The script will download the audio for your podcast source, convert the speech to text via OpenAI's Whisper API, summarize the text via OpenAI's GPT3 API, and chunk everything to fit within the limits of Whisper and GPT3 APIs. The script will also display the costs for both Whisper and GPT3 API usage.

Optional Usage

For YouTube sources, you can skip the Whisper API for transcription and use the YouTube video's subtitles if they're available. To do this, you will need to modify the code in the summarizer.py file.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

podcast-summarizer's People

Contributors

kyon-eth avatar erichs avatar brgraul avatar

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.