Podcast Transcript Summarizer
A Streamlit web application that allows users to search for podcasts on Spotify, retrieve their transcripts, and generate AI-powered summaries using Google's Gemini API.
Features
- Podcast Search: Search for podcasts by keywords or specific podcast names
- Direct Episode Lookup: Input a Spotify episode URL to directly fetch and summarize it
- Transcript Retrieval: Get transcripts of podcast episodes from Spotify
- AI Summarization: Generate concise summaries of podcast transcripts using Google's Gemini AI
- User-Friendly Interface: Clean, intuitive interface with Streamlit
Technologies Used
- Python: Core programming language
- Streamlit: Web application framework
- Spotify API: For podcast search and transcript retrieval
- Google Gemini API: For AI-powered text summarization
How It Works
- Search for Podcasts: Enter keywords or podcast names to find relevant content
- Select an Episode: Browse through search results and select an episode
- Get Transcript: The app retrieves the transcript of the selected episode
- Generate Summary: The app uses Gemini AI to create a concise summary of the transcript
- Review Content: Switch between summary and full transcript tabs for comprehensive review
Setup Requirements
- Python 3.11 or higher
- Spotify Developer API credentials
- Google Gemini API key
Environment Variables
The following environment variables must be set:
SPOTIFY_CLIENT_ID: Your Spotify Developer API Client IDSPOTIFY_CLIENT_SECRET: Your Spotify Developer API Client SecretGEMINI_API_KEY: Your Google Generative AI API Key
Installation
Clone the repository:
git clone https://github.com/Prikat25/Projects.git cd ProjectsInstall the required packages:
pip install -r requirements.txtSet up environment variables with your API keys
Run the Streamlit app:
streamlit run app.py
Usage
- Use the search bar to find podcasts
- Choose between "General Search" or "Podcast Name Only" for more specific results
- Click "Get Transcript & Summary" on any result to generate an AI summary
- Use the "Direct Episode Lookup" tab to paste a Spotify episode URL
Limitations
- Transcripts may not be available for all podcast episodes
- Summarization quality depends on the clarity and structure of the original transcript
Future Improvements
- Add support for more podcast platforms
- Implement advanced filtering options
- Add custom summarization parameters
- Implement user accounts for saving favorite episodes and summaries
Log in or sign up for Devpost to join the conversation.