Spaces:
Sleeping
Sleeping
metadata
title: YouTube to Book Summary Converter
emoji: π
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
license: mit
π YouTube to Book Summary Converter
Transform any YouTube video into a comprehensive, book-style summary using AI (Groq LLM).
Live Demo: simplytaps/Youtube-sum
β οΈ Important: Use Manual Transcript Tab
Hugging Face Spaces blocks YouTube access. The YouTube URL tab will NOT work.
How to Use This App:
- Open YouTube video in another tab
- Click "Show transcript" button below the video
- Copy the transcript text
- Go to "π Manual Transcript" tab in this app
- Paste the transcript and click "Generate Summary"
Step-by-Step Guide
Step 1: Get Transcript from YouTube
- Open any YouTube video (e.g., https://www.youtube.com/watch?v=example)
- Click the "..." (more) button below the video
- Click "Show transcript"
- Click anywhere in the transcript box
- Press Ctrl+A to select all
- Press Ctrl+C to copy
Step 2: Generate Summary
- In this app, go to "π Manual Transcript" tab
- Paste the transcript (Ctrl+V)
- Add video title (optional)
- Add video duration like
10:30(optional) - Click "π Generate Summary from Transcript"
Step 3: Download Results
- π PDF - Formatted book-style summary
- π Word - Editable document
- π Markdown - For note-taking apps
- π Transcript - Original text
Required Setup (One-Time)
Get Groq API Key (FREE)
- Visit console.groq.com
- Sign up for FREE account
- Click "API Keys" β "Create API Key"
- Copy the key (starts with
gsk_)
Add to Space Secrets
- Go to Space Settings
- Scroll to "Repository Secrets"
- Add secret:
- Name:
GROQ_API_KEY - Value: Your API key
- Name:
- Click "Add Secret"
- Restart the Space
Output Structure
| Section | Description |
|---|---|
| Executive Overview | High-level summary |
| Introduction | Background and context |
| Chapter-by-Chapter | Detailed breakdown |
| Key Concepts | Important terms |
| Key Takeaways | Main insights |
| Memorable Quotations | Notable quotes |
| Practical Applications | How to apply |
| Critical Analysis | Strengths/limitations |
| Quick Summary | TL;DR bullets |
Troubleshooting
| Problem | Solution |
|---|---|
| "YouTube URL not working" | Use Manual Transcript tab instead |
| "API key error" | Add GROQ_API_KEY to secrets |
| "Rate limit exceeded" | Get your own API key |
| App not loading | Wait 1-2 minutes for startup |
Technical Stack
- Frontend: Gradio 4.x
- LLM: Groq API (Llama 3.3 70B)
- Documents: python-docx, reportlab
Powered by Groq LLM | Built with β€οΈ using Gradio