A simple streamlit app for translating subtitles from English to Persian, utilizing models on huggingface.
- Sentence Translation: Converts English sentences into Persian.
- Subtitle Translation: Converts English subtitles (
.srt
files) into Persian.
- Python: Core programming language.
- Streamlit: Framework for building the web application interface.
- Hugging Face Transformers: Pre-trained models for translation tasks.
To set up the Translator App locally, follow these steps:
# Clone the Repository
git clone https://github.com/jazz1n/translator-app.git
cd translator-app
# Set Up a Virtual Environment (optional but recommended)
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate
# Install Dependencies
pip install -r requirements.txt
streamlit run app.py
Contributions are welcome. Please fork the repository and create a pull request with your proposed changes :)