To checkout this exciting webapp:
https://youtube-audio-processing-app.streamlit.app/
The YouTube Audio Processing App is a Streamlit-based web application designed for processing YouTube audio. The app provides functionalities for downloading audio from a YouTube video, transcribing the audio, translating the transcribed text, performing Named Entity Recognition (NER) on the translated text, and summarizing the content. This README provides an overview of the app's features, installation, and usage instructions.
-
Download Audio from YouTube: Extracts and downloads only the audio from a specified YouTube video.
-
Transcribe Audio: Transcribes the downloaded audio into text.
-
Translate Text: Translates the transcribed text into English.
-
Named Entity Recognition (NER): Identifies and highlights named entities in the translated text.
-
Text Summarization: Summarizes the translated text into a concise form.
-
Styled Streamlit Elements: Customized Streamlit buttons and display elements for an enhanced user interface.
To set up and run this application, follow these steps:
-
Clone the source code repository to your local machine.
-
The app requires several Python libraries. Install them using the following command:
"pip install streamlit pytube whisper deep_translator transformers torch"
-
Navigate to the app's directory and run it using Streamlit:
"streamlit run app.py"
After starting the app, follow these steps to process audio from a YouTube video:
-
Enter a YouTube URL: Input the URL of the YouTube video from which you want to process audio.
-
Download Audio: Click the 'Download Audio' button to download the audio from the provided YouTube link.
-
Transcribe Audio: Use the 'Transcribe Audio' button to transcribe the downloaded audio into text.
-
Translate Audio: Click the 'Translate Audio' button to translate the transcribed text into English.
-
Perform Named Entity Recognition: Use the 'Named Entity Recognition' button to identify and highlight entities in the translated text.
-
Summarize Text: Click the 'Summarize Text' button to generate a summary of the translated text.
-
View Results: The transcribed text, translated text, NER results, and summary will be displayed on the app's interface.
-
The app requires an active internet connection for downloading YouTube audio and using the translation and NER services.
-
Ensure that the YouTube URL is valid and the video contains clear audio for accurate transcription.