Setting up the environment
First, you’ll setup your compute environment. You’ll specify:- Compute requirements, including a GPU
- Python and system-level packages to install in the runtime
app.py
Transcribing YouTube Videos
We’ll write a basic function which takes in a YouTube video URL, uses the youtube_dl library to download the video as an Output, and runs the video through Whisper to generate a text transcript.Show Code
Show Code
run.py