Skip to content
프로젝트

소개

모든 PDF를 팟캐스트 에피소드로 변환하세요!

AI 및 머신러닝

이 수치를 측정하는 방법

What you can do

  • Convert PDF to Podcast: Upload a PDF and convert its content into a podcast dialogue.
  • AI-Powered Dialogue: Uses Google's Gemini LLM to create engaging, natural conversations.
  • High-Quality Audio: Leverages OpenAI's text-to-speech for lifelike voices.
  • User-friendly Interface: Simple interface using Gradio for easy interaction.

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
0
in 1 month
+1

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

PDF to Podcast

Overview

This project provides a tool to convert any PDF document into a podcast episode! Using Google's Gemini for dialogue generation and OpenAI's 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.

Features

  • Convert PDF to Podcast: Upload a PDF and convert its content into a podcast dialogue.
  • AI-Powered Dialogue: Uses Google's Gemini LLM to create engaging, natural conversations.
  • High-Quality Audio: Leverages OpenAI's text-to-speech for lifelike voices.
  • User-friendly Interface: Simple interface using Gradio for easy interaction.

Installation

To set up the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/knowsuchagency/pdf-to-podcast.git
    cd pdf-to-podcast
    
  2. Install dependencies:

    uv sync
    

Usage

  1. Set up API Key(s):

    You'll need an api key for OpenAI which you can either pass through the interface or set as the OPENAI_API_KEY environment variable.

  2. Run the application:

    python main.py
    

    This will launch a Gradio interface in your web browser.

  3. Upload a PDF: Upload the PDF document you want to convert into a podcast.

  4. Enter OpenAI API Key: Provide your OpenAI API key in the designated textbox.

  5. Generate Audio: Click the button to start the conversion process. The output will be an MP3 file containing the podcast dialogue.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for more information.

관련 프로젝트 살펴보기

불러오는 중…