2024-07-23 21:47:01 +07:00
2024-07-19 19:27:44 +07:00
2024-07-19 20:18:17 +07:00
2024-07-23 21:39:18 +07:00
2024-07-23 21:39:18 +07:00
2024-07-23 21:39:18 +07:00
2024-07-23 21:39:18 +07:00
2024-07-23 21:39:18 +07:00
2024-07-23 21:39:18 +07:00
2024-07-23 21:39:18 +07:00
2024-07-19 19:27:44 +07:00
2024-07-23 21:47:01 +07:00
2024-07-19 19:27:44 +07:00

MTCLIPEncode 能用 Helsinki-NLP 的本地模型翻译非英语文本,并把翻译后的英文提示词进行编码。

连接位置同默认的 CLIP Text Encode。

文字输入框只有一个,这样做的好处是,可以用这里: Optimized the prompt word module of the plugin 提到的方法,串接在 Krita AI Diffusion 插件中使用。

在单一文字输入框内,约定的文本输入格式为:

prefix | translate_part | suffix

可简单解释为:

[不需翻译的前缀]|[需要翻译的提示词]|[不需要翻译的后缀]

![节点和输入文本的格式](https://example.com/path/to/your/image.pn

S
Description
No description provided
Readme
8.8 MiB
Languages
Python 100%