Commit Graph

218 Commits (d1a8edae13e8dfcf27aa4b255ae3b70558db77bc)

Author SHA1 Message Date
toshiaki1729 d1a8edae13 blip2 model path 2024-05-08 04:24:33 +09:00
toshiaki1729 cf55b2da61 Update version.txt 2024-05-08 04:11:28 +09:00
toshiaki1729 fa242f6386 update READMEs 2024-05-08 04:10:50 +09:00
toshiaki1729 c3252d8325
Merge changes in standalone version (#93)
* Merge changes in standalone version
 - New Taggers and Custom Tagger
 - a little bit stable UI
2024-05-08 03:58:58 +09:00
ArrowM 7a2f4c53fb
rename package (#80) 2023-06-05 19:12:00 +09:00
toshiaki1729 43b0478f1e Update READMEs 2023-05-02 22:29:24 +09:00
toshiaki1729 e883ae6063 Update block_tag_select.py
fix for #77
2023-05-02 20:08:23 +09:00
toshiaki1729 344fd9952c Update READMEs 2023-04-30 20:41:48 +09:00
Chris Mekarski c1c78f5976
Add max image resolution option (#70)
* Add max image resolution option

* disable webUI's custom feature when max_res is specified

---------

Co-authored-by: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
2023-04-02 20:15:32 +09:00
toshiaki1729 2781e4b6b8 Hot fix for #69 2023-04-01 22:41:54 +09:00
toshiaki1729 6ff37996cb
Update README.md 2023-03-28 20:21:19 +09:00
toshiaki1729 64d65b278a remove unnecessary js code
it was just for debugging
2023-03-26 18:56:34 +09:00
toshiaki1729 896ebf8a54 version 0.2.0
The first version compatible with gradio v3.23.0
2023-03-26 18:46:50 +09:00
toshiaki1729 a9b30a94ea
Initial support for gradio 3.23.0 (#64)
This commit will make it incompatible with old webUI.
2023-03-26 18:40:20 +09:00
toshiaki1729 2b3bd4a724 first aid for #62 again 2023-03-26 03:41:16 +09:00
toshiaki1729 80eaf519cb version 0.1.2
the latest version compatible before 9e1afa9eb4
2023-03-26 03:37:35 +09:00
toshiaki1729 af4508f462 Revert "first aid for #62"
This reverts commit 12e326e8f3.
2023-03-26 03:35:10 +09:00
toshiaki1729 12e326e8f3 first aid for #62
disables type hint for List[…]
to avoid error on gradio v3.23.0
2023-03-26 02:31:51 +09:00
toshiaki1729 b8730ad53b Feature to replace new-line with comma on loading 2023-03-23 09:55:06 +09:00
toshiaki1729 1644f630ab move unload button 2023-03-23 09:07:27 +09:00
toshiaki1729 518406286d first aid for #60 2023-03-22 23:24:22 +09:00
toshiaki1729 cb8f3a72f4
enable unloading dataset with single click (#59) 2023-03-20 23:02:23 +09:00
toshiaki1729 6f8abe148a fix 57 2023-03-10 23:49:37 +09:00
toshiaki1729 ca95abb441 oops 2023-03-10 12:32:27 +09:00
toshiaki1729 b70eb4b18b just move variables 2023-03-10 12:28:50 +09:00
toshiaki1729 a6cabece3c wait for displaying contents
like webUI's javascript/ui.js
2023-03-10 10:20:47 +09:00
toshiaki1729 dfe589a71c
Apply change in caption to all displayed images (#54) 2023-03-08 23:12:32 +09:00
toshiaki1729 43d8d8f65f
implement some features to manage token count (#52)
Add:
- Count and truncate by tokens amount (#40)
- Sort tags by token count

Change:
- Move "use raw clip token..." setting to "Settings" tab
- Show tag frequency, length or token count depending on the "Sort by"
2023-03-07 22:23:48 +09:00
toshiaki1729 94afc6e025
Merge pull request #50 from toshiaki1729/feature/add-token-count
implement token count on "Edit Caption of Selected Image" tab
related to #40
2023-03-07 01:08:25 +09:00
toshiaki1729 09272f2840 implement token count 2023-03-07 00:57:19 +09:00
toshiaki1729 25e51b2de8
Add type hint for developer (need python>=3.7) (#49)
Change nothing in behavior at all
2023-03-06 11:15:59 +09:00
toshiaki1729 2406fc8139 move from wrong pos 2023-03-05 21:15:41 +09:00
toshiaki1729 d94664e5ae version 0.1.1
implement #46
minor fix
2023-03-05 21:10:47 +09:00
toshiaki1729 79f10c8365 fix #46
and some minor fix in behavior
2023-03-05 21:06:55 +09:00
toshiaki1729 262128e1ce
Huge refactoring of UI related codes (#48) 2023-03-05 19:03:55 +09:00
toshiaki1729 8f1f045e59 fix #45 2023-02-28 19:27:40 +09:00
toshiaki1729 7191240d59 fix always using json metadata even if it is disabled 2023-02-26 14:32:13 +09:00
toshiaki1729 d93c84a6f9 refactoring 2023-02-26 14:29:18 +09:00
toshiaki1729 bcbf036c75 Add json info 2023-02-26 14:18:37 +09:00
toshiaki1729 a646ebd065 Accept kohya-ss's metadata json as both input and output 2023-02-26 14:14:15 +09:00
toshiaki1729 9db35c0a45 use DirectML 2023-02-26 12:33:31 +09:00
toshiaki1729 c0aa72e100 enable wd-v14-tagger for AMD GPU users (#43) 2023-02-26 12:24:27 +09:00
toshiaki1729 77a4c42ab0 use pathlib instead of os.path
I'm not sure but may fix #42
2023-02-25 05:28:49 +09:00
toshiaki1729 c01f7c54f7 first aid for #42
Add option to force image gallery to use temporary files
2023-02-25 04:15:31 +09:00
toshiaki1729 09cdc65b30 use S=R threshold values for wd-v1-4-taggers 2023-02-25 00:40:49 +09:00
toshiaki1729 72f2d8aeb0
Merge pull request #41 from chaorace/sort-tags
Introduce tag sorting
2023-02-24 23:39:19 +09:00
toshiaki1729 95f97d8f47 Update ss06.png 2023-02-24 23:34:30 +09:00
toshiaki1729 4b2a4a49e8 Fix: doesn't sort caption when save from dialog 2023-02-24 23:26:27 +09:00
Christopher Crockett 668f36b58f Updated documentation for tag sorting
I've updated the documentation where appropriate to reflect the new
changes introduced for the new tag sorting feature

Unfortunately, I was only able to update one of the two impacted
images (ss05.png). I don't have access to the pictured sample dataset,
so I'll have to rely upon the author to update the image for ss06.png themselves

Apologies for the 外人の日本語. 日本語上手ないですよ
2023-02-23 15:39:56 -05:00
Christopher Crockett 952bd8f119 Added tag sorting to UI
This implementation utilizes the pre-existing DatasetTagEditor.sort_tags method.

Currently sorting is hardcoded as ascending alphabetical ("123abc"), but
it should be trivial to provide a UI for the various other options
provided by the method if anyone particularly wants alternative sorting.

Tags may be sorted as a batch for all filtered tags via a new button
- Found under: Batch Edit Captions > Extras > Sort selected tags
- The "Extras" menu was created as part of this commit

There is also an option to automatically sort tags upon clicking the
"Apply changes to selected image" button when editing tags via the
"Edit Caption of Selected Image" menu
- Disabled by default
- Enabled via: "Sort caption on save" checkbox (same menu)
2023-02-23 14:51:52 -05:00