diff --git a/README.md b/README.md index d5ee45b..b11ff7f 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,7 @@ ## Overview -**ComfyUI-Autocomplete-Plus** is a custom node that provides multiple input assistance features for any text area in [ComfyUI](https://github.com/comfyanonymous/ComfyUI). Currently, it mainly supports Danbooru-style tag input. - +**ComfyUI-Autocomplete-Plus** is a custom node that provides multiple input assistance features for any text area in [ComfyUI](https://github.com/comfyanonymous/ComfyUI). Currently, it mainly supports Currently, it supports Danbooru and e621 tags (e621 does not support some functions). ## Features - **:zap:No setup required**: Automatically downloads CSV data optimized for Danbooru tags. @@ -38,6 +37,7 @@ When you type in a text input area, tags that partially match the text are displ - Tag aliases are also included in the search. Japanese hiragana and katakana are searched without distinction. - Tags are color-coded by category. The color-coding rules are the same as Danbooru. - Tags that have already been entered are displayed grayed out. +- You can display Danbooru and e621 tags at the same time. You can also change the priority from the settings. ## Related Tags @@ -76,6 +76,11 @@ This is a CSV file for related tag calculation, recording tag pairs and their co Tag pairs are further filtered from the tag information CSV under the following conditions: - Co-occurrence count of 100 or more +### e621 CSV + +Currently, automatic download of CSV for e621 is not supported, so please manually place a CSV with the same structure as `danbooru_tags.csv` in the data folder with the name `e621_tags.csv`. +Also, displaying related tags is not supported. + ### User CSV Users can also use their own CSV files. For example, frequently used meta tags can be added to the autocomplete suggestions by placing a file named `danbooru_tags_meta.csv` in the `data` folder. @@ -97,6 +102,15 @@ worst_quality,5,9999999, ## Settings +### Tag Source + +> [!TIP] +> The source of tag data such as Danbooru or e621 is called the "tag source". + +- **Autocomplete Tag Source**: The tag source to display in the autocomplete suggestions. Select "all" to display all loaded tag sources. +- **Primary source for 'all' Source**: When `Autocomplete Tag Source` is set to "all", the tag source specified here will be displayed with priority. +- **Tag Source Icon Position**: Where to display the icon of the tag source. Select "hidden" to hide it. + ### Autocomplete - **Enable Autocomplete**: Enable/disable the autocomplete feature. @@ -107,7 +121,7 @@ worst_quality,5,9999999, - **Enable Related Tags**: Enable/disable the related tags feature. - **Max related tags**: Maximum number of related tags to display. - **Default Display Position**: Default display position when ComfyUI starts. -- **Related Tags Trigger Mode**: Trigger for displaying related tags (click, Ctrl+click). +- **Related Tags Trigger Mode**: Which action will trigger displaying related tags (click only, Ctrl+click) ## Known Issues diff --git a/docs/README_jp.md b/docs/README_jp.md index 457dec0..dc205c7 100644 --- a/docs/README_jp.md +++ b/docs/README_jp.md @@ -7,7 +7,7 @@ ## 概要 -**ComfyUI-Autocomplete-Plus** は、[ComfyUI](https://github.com/comfyanonymous/ComfyUI) の任意のテキストエリアに複数の入力支援機能を提供するカスタムノードです。現在は主にDanbooruスタイルのタグ入力に対応しています。 +**ComfyUI-Autocomplete-Plus** は、[ComfyUI](https://github.com/comfyanonymous/ComfyUI) の任意のテキストエリアに複数の入力支援機能を提供するカスタムノードです。現在はDanbooruとe621のタグに対応しています(e621は一部の機能が未対応です)。 ## 特徴 @@ -36,6 +36,7 @@ - タグのエイリアスも検索対象に含まれます。日本語のひらがな、カタカナは区別せず検索されます - タグのカテゴリ毎に色分けされます。色分けのルールは Danbooru と同じです - 入力済みのタグはグレーアウトで表示されます +- Danbooruとe621のタグを同時に表示出来ます。設定から優先順位を変更できます ## 関連タグ @@ -74,9 +75,14 @@ タグペアはタグ情報 CSV から、さらに以下の条件でフィルタリングされています。 - 共起回数が100件以上 +### e621 CSV + +現在、e621用 CSV の自動ダウンロードは未対応なため `danbooru_tags.csv` と同じ構造の CSV を `e621_tags.csv` という名前でデータフォルダーに手動配置してください。 +また、関連タグ表示も同様に未対応です。 + ### ユーザーCSV -ユーザーが自身で用意したCSVを使用することも可能です。例として、よく使うメタタグを `danbooru_tags_meta.csv` の名前で `data` フォルダーに配置することでオートコンプリート候補に追加できます。 +ユーザーが自身で用意した CSV を使用することも可能です。例として、よく使うメタタグを `danbooru_tags_meta.csv` の名前で `data` フォルダーに配置することでオートコンプリート候補に追加できます。 ヘッダー行はなくても構いません。反映にはブラウザのリロードが必要です。 **メタタグの例** @@ -95,6 +101,15 @@ worst_quality,5,9999999, ## 設定 +### タグソース + +> [!TIP] +> Danbooruやe621等のタグデータの提供元を「タグソース」と呼びます + +- **Autocomplete Tag Source**: オートコンプリート候補に表示するタグソース。「all」を選択するとロード済みの全てのタグソースを表示します +- **Primary source for 'all' Source**: `Autocomplete Tag Source` が「all」のとき、ここで指定したタグソースが優先して表示されます +- **Tag Source Icon Position**: タグの情報源のアイコンをどの位置に表示するか。「hidden」を選択すると非表示になります + ### オートコンプリート - **Enable Autocomplete**: オートコンプリート機能の有効化/無効化 @@ -105,7 +120,7 @@ worst_quality,5,9999999, - **Enable Related Tags**: 関連タグ機能の有効化/無効化 - **Max related tags**: 関連タグの最大表示件数 - **Default Display Position**: ComfyUI起動時のデフォルト表示位置 -- **Related Tags Trigger Mode** : 関連タグの表示トリガー(クリック、Ctrl+クリック) +- **Related Tags Trigger Mode** : 関連タグの表示する際、どの操作をトリガーとするか(クリックのみ、Ctrl+クリック) ## 既知の問題