The Language Translation AI project aims to provide users with an easy and intuitive way to translate text between various languages using pre-trained translation models. This repository contains both the frontend and backend components of the project.
- Translate text between English and target languages (German, French, Spanish).
- User-friendly interface for inputting text and selecting target languages.
- Pre-trained translation models for accurate and fast translation.
- Python
- Flask (Backend)
- Streamlit (Frontend Interface)
- Hugging Face Transformers (Translation Models)
- Git and GitHub (Version Control)
- Clone the repository:
git clone https://github.com/your-username/translation-ai-project.git cd translation-ai-project
-pip install -r requirements.txt
-
Navigate to the project directory: -cd translation-ai-project
-
Run the Streamlit application: -streamlit run app_frontend.py
-
Access the application by opening a web browser and navigating to http://localhost:8501.
-app_frontend.py: Contains the Streamlit frontend code. -app.py: Includes the Flask backend code. -model: Includes pre-trained translation models and tokenizers. -requirements.txt: List of required Python packages.