How to make a web app that transcribes YouTube videos with Streamlit | Part 1
Key Takeaways
This video teaches building a web app with Streamlit to transcribe YouTube videos
Original Description
Let's build an interactive web app that can transcribe YouTube videos in minutes! Streamlit is a great Python library that makes web development a piece of cake. And on top of Streamlit's powerful framework we will plug in Assembly AI's easy-to-use API to quickly upload and transcribe audio files.
Sign up for a free AssemblyAI API token here 👇
https://www.assemblyai.com/?utm_source=youtube&utm_medium=referral&utm_campaign=yt_mis_2
In the first part of the tutorial we will create a project structure, install all necessary dependencies, create a base Streamlit app with which we can test our code and develop the Python function that starts the transcription process.
We will use three main libraries: Streamlit, YouTube_dl and FFmpeg. These libraries will enable us to create a front-end for our project, download youtube videos and extract audio files from youtube videos respectively.
All the code in this tutorial is shared through a public Github repository. (https://github.com/misraturp/YouTube-transcriber)
This is all possible with only the free API token provided by Assembly AI. Sign up to get your own free API token here: https://www.assemblyai.com/?utm_source=youtube&utm_medium=referral&utm_campaign=channel_assemblyai
👩💻 Grab the code: https://github.com/misraturp/YouTube-transcriber
📥 Download FFmpeg: https://ffbinaries.com/downloads
✍️ See this tutorial in written format: https://www.assemblyai.com/blog/how-to-get-the-transcript-of-a-youtube-video/
00:00 Introduction
00:19 App overview
00:31 Get your own free API token
01:01 Let's get started!
01:25 Creating the project structure
02:35 Installing dependencies
05:26 Starting the Streamlit application
06:40 Setting up youtube_dl constants
07:50 Setting up the AssemblyAI API options
08:33 Getting the free API token
09:39 Extracting audio from the YouTube video
12:38 Uploading the audio to AssemblyAI
13:15 Starting the transcription
15:22 Checking that the code works correctly
16:31 Like and subscribe!
AI explanation not available for this lesson yet
This lesson is still being prepared for the AI tutor. In the meantime, explore lessons that are ready.
Browse explainer-ready lessons →
Playlist
Uploads from AssemblyAI · AssemblyAI · 7 of 60
1
2
3
4
5
6
▶
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Python Speech Recognition in 5 Minutes
AssemblyAI
Python Click Part 1 of 4
AssemblyAI
Python Click Part 2 of 4
AssemblyAI
Python Click Part 3 of 4
AssemblyAI
Python Click Part 4 of 4
AssemblyAI
Deep learning in 5 minutes | What is deep learning?
AssemblyAI
How to make a web app that transcribes YouTube videos with Streamlit | Part 1
AssemblyAI
How to make a web app that transcribes YouTube videos with Streamlit | Part 2
AssemblyAI
Batch normalization | What it is and how to implement it
AssemblyAI
Real-time Speech Recognition in 15 minutes with AssemblyAI
AssemblyAI
Regularization in a Neural Network | Dealing with overfitting
AssemblyAI
Add speech recognition to your Streamlit apps in 5 minutes
AssemblyAI
Transformers for beginners | What are they and how do they work
AssemblyAI
Automatic Chapter Detection With AssemblyAI | Python Tutorial
AssemblyAI
Deep Learning Series Part 1 - What is Deep Learning?
AssemblyAI
Deep Learning Series part 2 - Why is it called “Deep Learning”?
AssemblyAI
Activation Functions In Neural Networks Explained | Deep Learning Tutorial
AssemblyAI
Deep Learning Series part 3 - Deep Learning vs. Machine Learning
AssemblyAI
Deep Learning Series part 4 - Why is Deep Learning better for NLP?
AssemblyAI
Intro to Batch Normalization Part 1
AssemblyAI
Intro to Batch Normalization Part 2
AssemblyAI
Intro to Batch Normalization Part 3 - What is Normalization?
AssemblyAI
Intro to Batch Normalization Part 4
AssemblyAI
Intro to Batch Normalization Part 5
AssemblyAI
Sentiment Analysis for Earnings Calls with AssemblyAI
AssemblyAI
Summarizing my favorite podcasts with Python
AssemblyAI
Introduction to Regularization
AssemblyAI
How/Why Regularization in Neural Networks?
AssemblyAI
Getting Started With Torchaudio | PyTorch Tutorial
AssemblyAI
Types of Regularization
AssemblyAI
Tuning Alpha in L1 and L2 Regularization
AssemblyAI
Dropout Regularization
AssemblyAI
What is GPT-3 and how does it work? | A Quick Review
AssemblyAI
Backpropagation For Neural Networks Explained | Deep Learning Tutorial
AssemblyAI
Jupyter Notebooks Tutorial | How to use them & tips and tricks!
AssemblyAI
Best Free Speech-To-Text APIs and Open Source Libraries
AssemblyAI
Regularization - Early stopping
AssemblyAI
Regularization - Data Augmentation
AssemblyAI
Bias and Variance for Machine Learning | Deep Learning
AssemblyAI
Recurrent Neural Networks (RNNs) Explained - Deep Learning
AssemblyAI
What is BERT and how does it work? | A Quick Review
AssemblyAI
Introduction to Transformers
AssemblyAI
Transformers | What is attention?
AssemblyAI
Transformers | how attention relates to Transformers
AssemblyAI
Transformers | Basics of Transformers
AssemblyAI
Supervised Machine Learning Explained For Beginners
AssemblyAI
Transformers | Basics of Transformers Encoders
AssemblyAI
Transformers | Basics of Transformers I/O
AssemblyAI
How to evaluate ML models | Evaluation metrics for machine learning
AssemblyAI
Unsupervised Machine Learning Explained For Beginners
AssemblyAI
Weight Initialization for Deep Feedforward Neural Networks
AssemblyAI
Q-Learning Explained - Reinforcement Learning Tutorial
AssemblyAI
Should You Use PyTorch or TensorFlow in 2022?
AssemblyAI
What is Layer Normalization? | Deep Learning Fundamentals
AssemblyAI
I created a Python App to study FASTER
AssemblyAI
How to create your FIRST NEURAL NETWORK with TensorFlow!
AssemblyAI
Neural Networks Summary: All hyperparameters
AssemblyAI
Getting Started with OpenAI API and GPT-3 | Beginner Python Tutorial
AssemblyAI
Convert Speech-To-Text In Python in 60 seconds!
AssemblyAI
Gradient Clipping for Neural Networks | Deep Learning Fundamentals
AssemblyAI
Related Reads
📰
📰
📰
📰
I Asked an LLM to Search My Own Papers for Hypotheses I Had Missed
Medium · AI
Claude Fable 5.1: What Actually Changed, and Why It Matters
Medium · AI
What Happened When I Asked AI to Find Hidden Patterns in What I Read
Medium · AI
The Internet Is Starting to Sound Like ChatGPT — And So Are We
Medium · AI
Chapters (15)
Introduction
0:19
App overview
0:31
Get your own free API token
1:01
Let's get started!
1:25
Creating the project structure
2:35
Installing dependencies
5:26
Starting the Streamlit application
6:40
Setting up youtube_dl constants
7:50
Setting up the AssemblyAI API options
8:33
Getting the free API token
9:39
Extracting audio from the YouTube video
12:38
Uploading the audio to AssemblyAI
13:15
Starting the transcription
15:22
Checking that the code works correctly
16:31
Like and subscribe!
🎓
Tutor Explanation
DeepCamp AI