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.
- 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.
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.
- Clone the repository to your local machine.
- Navigate to the cloned directory.
- Install the required packages listed in
requirements.txt
by running: pip install -r requirements.txt
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.
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.
Contributions to Document Translator are welcome! Feel free to fork the repository, make your changes, and submit a pull request.
Document Translator is released under the MIT License. Feel free to use it, contribute, or share it as you see fit.