-
Notifications
You must be signed in to change notification settings - Fork 0
Nerdsie/YoutubeSummarize
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Summarize any YouTube video with OpenAI Whisper/ChatGPT Includes a Firefox addon for interfacing with the summarizer. Requirements: * FFMPEG * Python Cost: Rough estimates from running this a few times, a 20-minute video costs about $0.15 total. Price will vary depending on the length of the video. Longer videos have their transcripts split into multiple chatgpt requests to stay under token limit, so the cost will be higher. Setup: 1. Install requirements - `pip install -r requirements.txt` 2. Create .env at root level with 'OPENAI_KEY=YOUR_KEY_HERE' 3. Run `python main.py` Usage: 1. Submit the URL of a YouTube video to the server with a GET request to localhost:5000?videoUrl=YOUTUBE_URL_HERE 2. The response will be the summary of the video, which will also be output to console and saved to Sever/summaries/(videoId).txt Limitations: Currently audio files can exceed the max size limit for Whisper resulting in an error/crash.
About
Summarize any YouTube video with OpenAI Whisper/ChatGPT
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published