Transform documents into engaging podcasts or create random story podcasts using personas with just a few clicks!
- Upload Documents: Generate podcasts based on your document's content.
- Storytelling Personas: Choose from pre-defined personas for unique narration styles.
- Audio Generation: High-quality podcast audio created using ElevenLabs.
- Dynamic Transcript: Easily readable podcast-style transcripts.
Detective_podcast_audio.mp4
MagicalStoryteller_podcast_audio.mp4
Stand-UpComedian_podcast_audio.mp4
FitnessCoach_podcast_audio.mp4
-
Clone this repository:
git clone [email protected]:anujdutt9/Podcastify.git cd Podcastify
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
Create a .env file in the root directory with the following content:
# OpenAI API Key
OPENAI_API_KEY=<your_openai_api_key>
# ElevenLabs API Key
ELEVENLABS_API_KEY=<your_elevenlabs_api_key>
# OpenAI Model Settings
OPENAI_MODEL=gpt-4o-mini
OPENAI_MAX_TOKENS=1500
OPENAI_TEMPERATURE=0.7
- Launch the application:
python app.py
- Open your browser and navigate to the provided local URL (e.g., http://127.0.0.1:7860/).
- Upload a document or leave it blank, choose a persona, and click Generate Podcast.
Please fork this repository, make your changes, and submit a pull request. For major changes, open an issue first to discuss what youโd like to change.
โข Missing API Keys: Ensure OPENAI_API_KEY
and ELEVENLABS_API_KEY
are correctly set in the .env file.
โข Audio Generation Issues: Verify that ElevenLabs API access is active.
โข UI Not Loading: Ensure all dependencies are installed and the correct Python environment is activated.
This project is licensed under the MIT License. See the LICENSE file for more information.