Updated README to announce project succession and provide details about the new project.
96 lines
3.9 KiB
Markdown
96 lines
3.9 KiB
Markdown
# ⚠️ Project moved / 後継プロジェクトのお知らせ
|
|
|
|
This project has been succeeded by **ComfyUI-CheckpointHandpickerSuite**.
|
|
|
|
👉 https://github.com/ruminar/ComfyUI-CheckpointHandpickerSuite
|
|
|
|
`ComfyUI-CheckpointHandpickerSuite` includes the cleanup/review workflow from this project and adds:
|
|
|
|
- Checkpoint Name Cycler
|
|
- Checkpoint List Selector
|
|
- Checkpoint Status Tagger
|
|
- Ephemeral Preview
|
|
- ImageDir Preview
|
|
- Safe delete reservation workflow
|
|
|
|
This repository is kept for archive/reference purposes.
|
|
|
|
---
|
|
|
|
# ⚠️ 後継プロジェクトのお知らせ
|
|
|
|
このプロジェクトは、後継版である **ComfyUI-CheckpointHandpickerSuite** に統合・発展しました。
|
|
|
|
👉 https://github.com/ruminar/ComfyUI-CheckpointHandpickerSuite
|
|
|
|
新しいSuiteでは、このプロジェクトのCheckpoint整理・削除予約ワークフローに加えて、Checkpoint巡回、別タブレビュー、ステータスタグ付け、プレビュー機能などが追加されています。
|
|
|
|
このリポジトリは、過去版の参照用として残しています。
|
|
|
|
---
|
|
|
|
# ComfyUI-CheckpointWidgetRefresh
|
|
|
|
ComfyUIを再起動せずに、Checkpoint系の選択リストを現在のファイル状態へ同期する小さなUIノードじゃ!
|
|
|
|
「新しいモデルをディレクトリに置いたのに、リストに出てこないのう……再起動は面倒じゃし……」
|
|
そんなおぬしの“平常運転な悩み”を、フロントエンドだけでなくバックエンドまで含めた鮮やかなパッチワークで解決して進ぜよう!
|
|
|
|
## 特徴
|
|
|
|
- **再起動いらずの即時同期** <br/>
|
|
ボタンをポチッと押すだけで、新しく追加したモデルが選択肢に並び、削除したモデルは綺麗に消えるぞ。
|
|
|
|
- **標準ノードにも対応** <br/>
|
|
自作ノードだけでなく、標準の `CheckpointLoaderSimple` も更新対象じゃ。
|
|
|
|
- **バックエンドまで貫くパッチ** <br/>
|
|
ブラウザ上の表示を変えるだけではない。Python側の型定義(`INPUT_TYPES` など)まで更新するため、バリデーションで弾かれる心配も少ないのじゃ。
|
|
|
|
- **Checkpoint Name Cycler との強力連携** (New!) <br/>
|
|
これと対となるノード、**[`Checkpoint Name Cycler`](https://github.com/ruminar/ComfyUI-CheckpointNameCycler)** があれば、巡回状態も初期化するぞ。 <br/>
|
|
`start_checkpoint` から改めて巡回を始めたい時は、リフレッシュボタンをクリックじゃ!
|
|
|
|
- **徹底した軽量設計** <br/>
|
|
常時監視やポーリングは一切しない。おぬしが「今だ!」とボタンを押した時だけ動く、ワークフローの邪魔をしない奥ゆかしい実用品じゃ。
|
|
|
|
## 導入方法
|
|
|
|
ComfyUIの `custom_nodes` ディレクトリで、以下のコマンドを打ち込むのじゃ!
|
|
|
|
```bash
|
|
git clone https://github.com/ruminar/ComfyUI-CheckpointWidgetRefresh.git
|
|
```
|
|
|
|
## 使い方
|
|
|
|
1. **Checkpointを追加・削除する** <br/>
|
|
いつものようにモデルフォルダを整理するのじゃ。
|
|
|
|
2. **ノードを追加する** <br/>
|
|
`Checkpoint Widget Refresh` ノードをキャンバスのどこかに置く。
|
|
(配線は不要じゃ!)
|
|
|
|
3. **ボタンを押す** <br/>
|
|
`Refresh Checkpoint Widgets` ボタンを押せば、対象ノードの選択肢が最新状態に更新されるぞ!
|
|
|
|
<br/>
|
|
|
|
<img width="876" height="480" alt="image" src="https://github.com/user-attachments/assets/ce6f8c34-0828-44b4-aae5-538d7dcb9268" />
|
|
|
|
|
|
## 対応ノード
|
|
|
|
* `CheckpointLoaderSimple`
|
|
* `CheckpointNameSelector` 系ノード
|
|
* [`CheckpointNameCycler`](https://github.com/ruminar/ComfyUI-CheckpointNameCycler)
|
|
|
|
## ライセンス
|
|
|
|
GPL-3.0
|
|
(ComfyUI本体の掟に従っておるぞ!)
|
|
|
|
## 説明画像
|
|
|
|
<img width="1024" height="1536" alt="ComfyUI-CheckpointWidgetRefresh説明" src="https://github.com/user-attachments/assets/d1b7e020-5f60-4ad8-a006-639ae3335fe4" />
|