This project provides a Streamlit web application that extracts transcripts from YouTube videos and generates detailed notes using Google's Gemini API. The application is designed to be user-friendly and efficient, offering a simple interface to summarize YouTube videos into concise and valuable notes.
- Extracts transcript details from YouTube videos.
- Utilizes Google's Gemini API for generating detailed content.
- User-friendly interface built with Streamlit.
- Displays video thumbnail for better visualization.
- Handles errors gracefully, such as when subtitles are disabled.
Follow these steps to set up the project:
-
Create an environment:
python -m venv myEnv
-
Activate the environment:
myEnv\Scripts\activate
-
Install the necessary libraries:
pip install -r requirements.txt
-
Generater you own Google's Gemini API key
# Replace GOOGLE_API_KEY with your own Gemini API key. genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
To run the application, use the following command:
streamlit run app.py
Feel free to contribute to this project by submitting a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
Created with ❤️ by [Imran Nawar]