This repository houses a Python application for translating and summarizing YouTube video transcripts. The application utilizes the YouTube Transcript API for retrieving the transcripts and leverages the Streamlit framework for building a user interface.
To run this application, please follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/username/repository.git
-
Setup the Docker development container. Open a terminal or command prompt and navigate to the root folder of the cloned repository. Run the following command:
docker-compose up -d
This will create a development container using the specified Docker image.
-
Install the required Python packages by running the following command:
docker-compose exec app pip install -r requirements.txt
To utilize the application, follow these steps:
-
Run the Streamlit app within the Docker development container:
docker-compose exec app streamlit run streamlit_app.py
This command will start the Streamlit application and launch it in your web browser.
-
Input the YouTube video URL and select the target language from the dropdown menu.
-
Click the "Translate" button. The app will retrieve the transcript, translate it to the specified language, and display the translated transcript along with a download link.
- Translates YouTube video transcripts to multiple languages
- Summarizes the translated transcript to a shorter version
- Provides a download link for the translated transcript
Contributions to this repository are welcome. If you would like to contribute, please follow these steps:
- Fork the repository
- Create a new branch
- Make your modifications
- Commit your changes
- Push the branch to your forked repository
- Open a pull request to the main repository
Please ensure that your contributions adhere to the repository's code style and conventions.
This project is licensed under the MIT License.
For any questions or inquiries, please contact [email protected]