samrand96 / Undetectable-AI

Undetectable-AI: Easy yet powerful tool to rewrite docx so that won't be detected as AI-Written Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undetectable-AI

Welcome to the Undetectable AI Tool! This script is designed to huminize ChatGPT and other text-based content. It offers efficient DOCX file manipulation, including text translation, humanization, grammar correction, and content evaluation. Powered by leading Python libraries and external services, it provides a seamless solution for automating document workflows. With customizable options via command-line arguments, it's perfect for professionals and enthusiasts looking to streamline text processing tasks.

Usage

To use the Python DOCX Processor, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/samrand96/Undetectable-AI
  2. Navigate to the repository directory:

    cd Undetectable-AI
  3. Install the required dependencies using pip:

    pip install -r requirements.txt
  4. Run the script with the desired options:

    python main.py <file_path> [--output_file_path <output_file_path>] [--model <model_name>] [--target_lang <target_language>] [--grammar] [--chatgpt]
    • <file_path>: Path to the original DOCX file.
    • --output_file_path: (Optional) Path to save the processed DOCX file. If not provided, a timestamped filename will be generated.
    • --model: (Optional) Model name for ollama. Default is "dolphin-mistral:latest".
    • --target_lang: (Optional) Language code for intermediate translation. Default is "arabic".
    • --grammar: (Optional) Enable grammar correction. Off by default.
    • --chatgpt: (Optional) Use ChatGPT instead of regular humanization. Off by default.
  5. The processed document will be saved as specified or with a timestamped filename in the current directory.

Example:

python main.py input.docx --output_file_path processed.docx --model dolphin-mistral:latest --target_lang russian --grammar --chatgpt

Prerequisites

Before using the Python DOCX Processor, ensure you have the following prerequisites:

  1. ollama Installed: Install ollama by following the instructions on the official website: ollama.com.

  2. Download Model: After installing ollama, download the preferred model. For example, to download the "dolphin-mistral:latest" model, use the following command:

    ollama pull dolphin-mistral:latest
  3. ChatGPT Key (Optional): If you intend to use ChatGPT, ensure you have your own API key. You can obtain an API key by signing up on the OpenAI website: OpenAI API.

Disclaimer

Undetectable-AI, including its Python DOCX Processor script and associated documentation, is provided for educational purposes only. The project is intended to explore text processing techniques and should be used responsibly and in compliance with applicable laws and regulations.

The creators and contributors of Undetectable-AI do not endorse any unauthorized or unethical use of the project, including but not limited to plagiarism, copyright infringement, or misrepresentation of generated content as original.

Users are solely responsible for their use of Undetectable-AI and any consequences thereof. The creators and contributors disclaim any liability for any damages or losses arising from the use of the project.

By using Undetectable-AI, you agree to use it solely for educational and lawful purposes, and you acknowledge and accept the terms of this disclaimer.

About

Undetectable-AI: Easy yet powerful tool to rewrite docx so that won't be detected as AI-Written Text

License:GNU General Public License v3.0


Languages

Language:Python 100.0%