This project is a translation tool built using Streamlit and Google's Gemini Generative AI. It allows users to translate text between different languages and checks for harmful content to prevent the translation of inappropriate material.
- Multi-language Support: Supports translation between English, Spanish, French, German, Chinese, Japanese, Arabic, and Hindi.
- Harmful Content Detection: Scans input text for harmful keywords (related to hate, violence, and discrimination) in various languages and prevents translation if such content is detected.
- Google Generative AI Integration: Uses Google's Gemini AI for text translation.
- Python 3.x
- Streamlit
- Google Generative AI API Key
- Clone the repository to your local machine.
git clone https://github.com/Mohammedh564/Translation-tool-using-Gemin-API.git cd Translation-tool-using-Gemin-API