GPT-Translator is a Streamlit application designed to facilitate the translation of texts between languages using advanced language models. It supports various translation providers and allows users to input text either directly or by uploading PDF files. The application provides a user-friendly interface for selecting translation settings, including the choice of provider, API keys, and target language.
- Multiple Translation Providers: Supports Free (Slow), OpenAI, and Groq providers.
- Language Selection: Users can select the target language for translation.
- Input Modes: Offers the flexibility to input text directly or upload a PDF file.
- Progress Tracking: Displays a progress bar during the translation process.
- Downloadable Translations: Provides an option to download the translated text.
To run GPT-Translator, ensure you have Streamlit installed in your Python environment:
pip install streamlit
Then, clone the repository and navigate to its directory:
git clone https://github.com/mshojaei77/GPT-Translator.git
cd GPT-Translator
Run the application using Streamlit:
streamlit run app.py
Upon launching the application, you will be presented with the following options:
- Settings Sidebar: Configure your translation preferences here, including the translation provider, API key, and input mode (PDF file or direct text input).
- Translation Tab: Here, you can enter or upload the text you wish to translate. After configuring your settings and entering/uploading your text, click the "Translate" button to initiate the translation process.
- Original Text Tab: View the original text entered or extracted from the uploaded PDF file.
Contributions are welcome Feel free to submit pull requests or report issues.
GPT-Translator is released under the License. See LICENSE for details.
For support or inquiries, please contact the developer via Telegram:
- About: http://t.me/mshojaei77
- Report a bug: http://t.me/shojaeireal
Enjoy translating with GPT-Translator