iukea/open-notebooklm
0
1---2title: Open NotebookLM3emoji: ๐๏ธ4colorFrom: purple5colorTo: red6sdk: gradio7sdk_version: 4.44.08app_file: app.py9pinned: false10---11 12# Open NotebookLM13 14## Overview15 16This project is inspired by the NotebookLM tool, and implements it with open-source LLMs and text-to-speech models. This tool processes the content of a PDF, generates a natural dialogue suitable for an audio podcast, and outputs it as an MP3 file.17 18## Features19 20- **Convert PDF to Podcast:** Upload a PDF and convert its content into a podcast dialogue.21- **Engaging Dialogue:** The generated dialogue is designed to be informative and entertaining.22- **User-friendly Interface:** Simple interface using Gradio for easy interaction.23 24## Installation25 26To set up the project, follow these steps:27 281. **Clone the repository:**29 ```bash30 git clone https://github.com/gabrielchua/open-notebooklm.git31 cd open-notebooklm32 ```33 342. **Create a virtual environment and activate it:**35 ```bash36 python -m venv .venv37 source .venv/bin/activate38 ```39 403. **Install the required packages:**41 ```bash42 pip install -r requirements.txt43 ```44 45## Usage46 471. **Set up API Key(s):**48 For this project, I am using LLama 3.1 405B hosted on Fireworks API as its JSON Mode supports passing a pydantic object. So, please set the API key as the `FIREWORKS_API_KEY` environment variable49 502. **Run the application:**51 ```bash52 python app.py53 ```54 This will launch a Gradio interface in your web browser.55 563. **Upload a PDF:**57 Upload the PDF document you want to convert into a podcast.58 594. **Generate Audio:**60 Click the button to start the conversion process. The output will be an MP3 file containing the podcast dialogue.61 62## Acknowledgements63 64This project is forked from [`knowsuchagency/pdf-to-podcast`](https://github.com/knowsuchagency/pdf-to-podcast)65 66## License67 68This project is licensed under the Apache 2.0 License. See the [LICENSE](LICENSE) file for more information.69 