Skip to content

Application designed to translate documents effortlessly

License

Notifications You must be signed in to change notification settings

SemPhares/document_translator

Repository files navigation

Document Translator

Document Translator is an application designed to translate documents effortlessly using advanced AI models from Gemini or OpenAI Chat. This tool simplifies the process of translating various document formats, providing users with quick and accurate translations.

Features

  • Document Translation: Supports translating a wide range of document formats.
  • Multiple AI Backends: Choose between Gemini or OpenAI Chat for translation services.
  • Easy to Use: Simple setup and execution process.

Prerequisites

Before you can run Document Translator, ensure you have the following:

  • Python 3.10 or newer installed on your system.
  • An API key from either Gemini or OpenAI, depending on your preference for the translation service.

Installation

  1. Clone the repository to your local machine.
  2. Navigate to the cloned directory.
  3. Install the required packages listed in requirements.txt by running: pip install -r requirements.txt

Configuration

Before running the application, you need to provide your API key. This can be done by setting the API key in an environment variable or directly in the application's configuration file, depending on the implementation.

Running the Application

To run Document Translator, execute the following command in the terminal: make run

This command will start the application. Follow the on-screen instructions to input the document you wish to translate and select the translation service.

Contributing

Contributions to Document Translator are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

License

Document Translator is released under the MIT License. Feel free to use it, contribute, or share it as you see fit.

About

Application designed to translate documents effortlessly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published