Skip to content

A simple implementation of the Google NotebookLM Audio overview function. You can run ๐Ÿ’ฌ DIY Podcast Generator ๐ŸŽ™๏ธ on your PC and generate a podcast video with captions.

License

Notifications You must be signed in to change notification settings

BlackThompson/DIY-Podcast-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ฌ DIY Podcast Generator ๐ŸŽ™๏ธ

License

A simple implementation of the Google NotebookLM Audio overview function (of course, the performance of this system is somewhat inferior). But you can run ๐Ÿ’ฌ DIY Podcast Generator on your PC, and generate a podcast video with captions. :)

demo

Demo

podcast_video.mp4

Prerequisites

  • Python>=3.10

  • Please make sure that your computer has FFmpeg and ImageMagick installed.

  • Remember to revise the file gen_video.py the line below to your magick.exe path (it should be line 15).

    change_settings({"IMAGEMAGICK_BINARY": r"C:\Program Files\ImageMagick\magick.exe"})
  • Create a new .env file in the root directory of this project , and add your OPENAI API key.

    OPENAI_API_KEY = "sk-xxxxxxxxxxxxxxxxxxxxx"
    

Installation

  1. Clone the repository:

    git clone https://github.com/BlackThompson/DIY_Podcast_Generator.git
    cd DIY_Podcast_Generator
  2. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Run the script:

    python app.py
  2. Click the given URL:

    Running on local URL: http://127.0.0.1:xxxx
  3. You can upload a PDF file (a paper suggested), or input some text, then click submit.

  4. The audio will be generated faster than the video. The video generation may take over 30 minutes (sorry for that slow). Patience is key in life XD

Logging

The application logs its activities to DIY_Podcast.log with the following format:

%(asctime)s - %(levelname)s - %(message)s

About

A simple implementation of the Google NotebookLM Audio overview function. You can run ๐Ÿ’ฌ DIY Podcast Generator ๐ŸŽ™๏ธ on your PC and generate a podcast video with captions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages