This Streamlit app aims to provide educational assistance by allowing users to generate transcripts from YouTube videos and translate them into different languages. The tool is designed to help language learners, students, and educators access and understand spoken content more effectively.
The primary goal of this project is to facilitate language learning and educational activities by providing a convenient tool for extracting and translating transcripts from YouTube videos. By converting spoken content into written form and offering translation capabilities, the app aims to:
- Assist language learners in improving their listening and comprehension skills.
- Support students in accessing educational content in their native language or a language they are studying.
- Aid educators in creating subtitles or transcripts for instructional videos.
- Promote accessibility by making video content more comprehensible for individuals with hearing impairments or language barriers.
When attempting to push changes to GitHub, you may encounter an error related to push protection. This error occurs when secrets are detected in the repository, which violates GitHub's security rules.
Another potential issue is the inclusion of sensitive information, such as the OpenAI API key, in the code. Including API keys in a public repository can pose security risks and violate best practices.
To resolve these issues, follow these steps:
- Review Repository Rules: Visit the repository settings page to review all repository rules.
- Resolve Detected Secrets: Resolve any detected secrets by removing them from the commits or allowing them via the provided URL.
- Enable Secret Scanning: If Secret Scanning is not enabled for the repository, consider enabling it to manage detected secrets more effectively.
- Remove API Key from Code: Ensure that sensitive information like the OpenAI API key is not included in the code before pushing to GitHub.
- Environment Variables: Use environment variables or secure storage solutions to manage API keys and other secrets securely.
- Enter a valid YouTube video link in the input field.
- Enter the target language for translation.
- Click the "Generate Transcript" button to generate the transcript and translate it.
- The original and translated summaries will be displayed, and you can download the translated text using the "Download Text" button.
- Python 3.x
- Streamlit
- pytube
- OpenAI API (for translation)
- ffmpeg (for audio conversion)
- Clone the repository:
git clone https://github.com/OSAMAGHAFFARTKOJL/VideoTranscribHackathon.git
- Install dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
Our team comprises passionate developers and AI enthusiasts dedicated to reimagining the future of education. With diverse backgrounds in academia and technology, we bring a unique blend of expertise to Ai.
Collaborators: https://github.com/shaistaDev7 https://github.com/shahzcoder https://github.com/Fayaz-khani https://github.com/hamna321