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

  1. Search for Podcasts: Enter keywords or podcast names to find relevant content
  2. Select an Episode: Browse through search results and select an episode
  3. Get Transcript: The app retrieves the transcript of the selected episode
  4. Generate Summary: The app uses Gemini AI to create a concise summary of the transcript
  5. 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 ID
  • SPOTIFY_CLIENT_SECRET: Your Spotify Developer API Client Secret
  • GEMINI_API_KEY: Your Google Generative AI API Key

Installation

  1. Clone the repository:

    git clone https://github.com/Prikat25/Projects.git
    cd Projects
    
  2. Install the required packages:

    pip install -r requirements.txt
    
  3. Set up environment variables with your API keys

  4. 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

Built With

Share this project:

Updates