Skip to content

BetaDoggo/ComfyUI-Kolors-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComfyUI-Kolors-Translator

A custom node designed to complement KwaiKolorsWrapper by kijai and hopefully a more flexible implementation in the future. image example workflow

Install:

Semiautomatic(portable install and Swarm only):

  1. Clone the repo into your custom nodes folder
  2. Run python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\ComfyUI-Kolors-Translator\requirements.txt from your comfyUI folder

Manual:

  1. Clone the repo into your custom nodes folder
  2. Run pip install -r requirements.txt The translation model will be downloaded on the first run

Uninstall

Just delete the node's folder, then delete the translation model in models/ggml

Method and Reasoning

This node uses the Yi-1.5-6B-chat model to do the translation. I found this model to be roughly on par with google translate for English to Chinese. It's small and only takes a few seconds for long prompts on just the cpu. The model is run on cpu with llama-cpp-python to minimize gpu overhead.

About

Custom node to translate prompts into Chinese

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages