ComfyUI_kkTranslator_nodes

ComfyUI_kkTranslator_nodes
★ 7

翻译离线翻译提示词翻译Helsinki-NLP
将其他语言的提示词本地翻译成英文,基于Helsinki NLP模型,免联网,可直接在ComfyUI中使用以提升提示词兼容性和准确性。
💡 在本地将非英语提示词翻译为英语用于ComfyUI工作流。
🍴 2 Forks💻 Python🔄 2024-09-13
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9671236b7e59
📦 requirements.txt
torch
transformers==4.26.1
requests
hashlib
random
json
Alt text
📄 README

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

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

    Download this workflow to view the demonstration: marian_mt_workflow