Code Monkey home page Code Monkey logo

gpt-translator's Introduction

GPT-Translator

Introduction

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.

Features

  • 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.

Getting Started

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

Usage

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.

Contributing

Contributions are welcome Feel free to submit pull requests or report issues.

License

GPT-Translator is released under the License. See LICENSE for details.

Contact

For support or inquiries, please contact the developer via Telegram:

Enjoy translating with GPT-Translator

gpt-translator's People

Contributors

mshojaei77 avatar

Stargazers

 avatar Milad avatar W0L4I avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.