Skip to content

translate your prompt text to enlish using local translation models

License

Notifications You must be signed in to change notification settings

kingzcheung/ComfyUI_kkTranslator_nodes

Repository files navigation

ComfyUI_kkTranslator_nodes

简体中文| English

These nodes are mainly used to translate prompt words from other languages into English. PromptTranslateToText implements prompt word translation based on Helsinki NLP translation model.It doesn't require internet connection。

Install

  1. Clone this repository to the custom of ComfyUI In the nodes folder。
cd custom_nodes
git clone https://github.com/kingzcheung/ComfyUI_kkTranslator_nodes
  1. Run the following command to install dependencies
python -m pip install -r requirements.txt
  1. Restart your ComfyUI

Usage

Download this workflow to view the demonstration: marian_mt_workflow

Alt text