Commit Graph

217 Commits (main)

Author SHA1 Message Date
AlUlkesh 230b62db30 gradio 3.23 fixes, #98 2023-03-25 17:07:48 +01:00
AlUlkesh f711a69294 gradio 3.23 changes, #96, #91
wait for gradio now uses onUiLoaded callback
changed all function names to ensure they are unique
keydown now included in the wait
2023-03-25 08:58:49 +01:00
AlUlkesh 62cf141330 Delete and concurrency rework, #29, #78, #79, #91. #94 2023-03-21 11:19:53 +01:00
AlUlkesh 58c374c61b workaround webui update, #85 2023-03-16 12:06:40 +01:00
AlUlkesh 6de0af30b0 delete fix, #79 2023-03-15 08:50:16 +01:00
AlUlkesh ed8c24cf6e handle DecompressionBombError 2023-03-12 08:20:09 +01:00
EllangoK 5c39fbf57a stack button rows as column units
separates out controlnet controls
2023-03-11 18:44:12 -05:00
AlUlkesh 7dbd508461 Send to ControlNet, #67 2023-03-11 16:54:15 +01:00
EllangoK 5400bd6ba6 removes full loop over files in delete_image 2023-03-10 16:52:37 -05:00
AlUlkesh fe445ddf26 Speed up filters, #74, reapply rankings option 2023-03-10 20:47:07 +01:00
AlUlkesh 89a6f94fde handle UnidentifiedImageError, #77 2023-03-10 07:30:06 +01:00
AlUlkesh c5e774b171 handle exif for images <> png, jpg, #73 2023-03-09 00:49:05 +01:00
EllangoK 6ac51d0635 only include hidden override components 2023-03-08 16:37:46 -05:00
EllangoK e090e515db configurable hiding of ui components 2023-03-08 15:25:55 -05:00
AlUlkesh 8b748ed857 filehash logic replaces ctime logic, #71 2023-03-08 18:42:55 +01:00
AlUlkesh 67cd1daa39
Merge pull request #71 from MrSnowman/fix-duplicate-names-bug
Fixed issue where files were given rankings incorrectly.
2023-03-08 00:32:18 +01:00
AlUlkesh e1a83a63cb migrate for #71 2023-03-08 00:31:17 +01:00
Mattias Pettersson b85a2b9f9c Fixed issue where files were given rankings incorrectly. 2023-03-07 21:53:53 +01:00
AlUlkesh 2a64cd1954 catch a PermissionError, #69 2023-03-07 21:40:17 +01:00
AlUlkesh e508543da1 display non-webui image info, #66 2023-03-07 10:56:37 +01:00
AlUlkesh 0db94f5af9 Update image_browser.py
Delete off-screen images, #48
2023-03-06 23:28:01 +01:00
AlUlkesh 7e23b389eb Send to openOutpaint, #43, Open folder for Others tab 2023-03-06 09:56:09 +01:00
AlUlkesh 445c8b3753 fix for wrong png/jpg, #64 2023-03-06 01:30:02 +01:00
AlUlkesh 3d95a7d263 Open folder, #62, fix migrate, #63 2023-03-05 15:25:33 +01:00
AlUlkesh aa4e180388 Regex search, #61 2023-03-05 02:12:28 +01:00
AlUlkesh 9e1222d4a9 maximum aesthetic_score filter, #56 2023-03-04 20:55:39 +01:00
AlUlkesh a8733e0bdc save ranking to exif option, #45 2023-03-04 19:06:40 +01:00
AlUlkesh d658368e31 set temp_dir for gradio, #60 2023-03-03 16:24:26 +01:00
AlUlkesh 8633dde3f8 handle windows short names, #58 2023-03-02 00:16:23 +01:00
AlUlkesh 4cbcd1de17 Maintenance tab, #57 2023-03-01 00:52:48 +01:00
AlUlkesh 7eaa53ff32 handle different outdir_*-options, #54 2023-02-26 21:00:04 +01:00
AlUlkesh 932e54dc0b additional debug info 2023-02-26 09:27:21 +01:00
AlUlkesh f32f0e16e3 added to readme, typo 2023-02-25 19:11:45 +01:00
EllangoK 4829a30c20 simpler regex, only allow alpanumeric underscore
and hyphen
2023-02-25 12:06:30 -05:00
EllangoK af2426c57e adds prefix for tabs base tag
allows for custom folders with the same name
2023-02-24 19:58:31 -05:00
EllangoK 3e1744ad06 renames tabname to tab_base_tag, introduced before
simplifies a lot of manual loops into foreach or maps and filters
changes vars to mostly const, some lets remain
2023-02-24 17:04:02 -05:00
EllangoK 7351746b4e creates ImageBrowserTab class to simplify tab list
also resolves issue where custom paths did not register delete btn
2023-02-24 13:51:52 -05:00
EllangoK ce76a17e81 fancier active tabs list comprehension
should handle all cases as csv effectively
2023-02-24 02:48:53 -05:00
EllangoK 910bcbb41c allows user to control active image browser tabs
allows for custom folders as tabs as well
2023-02-24 02:14:46 -05:00
AlUlkesh 3f61b9f299 rebuild button, fix multiline prompt exif, #42 2023-02-20 00:28:30 +01:00
AlUlkesh 3f6fb330f2 refresh saved directories, #39 2023-02-19 16:49:33 +01:00
AlUlkesh 883ac1d859 Copy/Move to directory, #39 2023-02-19 11:08:13 +01:00
AlUlkesh 7e6a684e59 handle wrong delete + left arrow interaction, #29 2023-02-16 22:22:46 +01:00
AlUlkesh b3b014fb3a make send2trash optional, #19 2023-02-16 16:24:22 +01:00
AlUlkesh 962c67a773 fix list index out of range, #34 2023-02-13 14:30:56 +01:00
AlUlkesh c25e8a73f3 fix gradio warning 2023-02-12 19:11:41 +01:00
AlUlkesh 0416810adf modifier key settings, #32 2023-02-11 09:57:58 +01:00
AlUlkesh 94082b3885 Fix Others/subdirs, #5 2023-02-11 00:04:32 +01:00
AlUlkesh 1d5cb3e228 Fix non-png/jpg handling, #30 2023-02-10 20:22:15 +01:00
AlUlkesh 7a7c97b76a Shorten texts 2023-02-10 15:07:01 +01:00
AlUlkesh 04dc47f195 fix negative prompt handling 2023-02-10 09:28:06 +01:00
AlUlkesh fe63beeb3b increased db-timeout, #26, handlich os.error 22 on invalid exif data 2023-02-10 08:11:37 +01:00
EllangoK 74a5dcc03d adds more keybindings 2023-02-09 19:15:49 -05:00
AlUlkesh c44e2cf1c9 Fix display issue, #24 2023-02-09 23:39:25 +01:00
AlUlkesh 73ad3f6ae3 Migrate settings, some more renames 2023-02-09 16:47:24 +01:00
EllangoK a2ee75e2a7 renames from images history to image browser 2023-02-08 20:32:20 -05:00
AlUlkesh 3390e353fd handle .txt files, #5 2023-02-08 10:11:08 +01:00
AlUlkesh b5a4182bdc Fix for #20 , more natural sorts 2023-02-08 09:35:35 +01:00
AlUlkesh c1a4590d54 Fix wrong merge conflict 2023-02-08 02:46:28 +01:00
AlUlkesh bcab30019b
Merge branch 'main' into main 2023-02-08 02:38:59 +01:00
AlUlkesh 44ce20fd59 Switch to database and small improvements
- Switch from files to database
- Some cache logic correction
- Options for negative prompt
- Hide Ranking buttons on overview page
2023-02-08 02:29:26 +01:00
EllangoK 6003c1c2b5 lets user use number keys to set ranking 2023-02-06 22:14:53 -05:00
AlUlkesh 8bc7d3a11b Ranking fix, #18, save all json with indent 2023-02-05 22:14:29 +01:00
AlUlkesh 818d59a662 cache fix, #17 2023-02-05 01:23:15 +01:00
AlUlkesh 652861764c option for exif scan, #16 2023-02-05 01:09:55 +01:00
AlUlkesh 3eaa4a6d7a logging fix 2023-02-05 01:00:00 +01:00
Vladimir Mandic 078d85091f
fix typo in element id
caused javascript exception
2023-02-04 17:32:47 -05:00
Vladimir Mandic 553eaa9b59
remove warning message during normal operations 2023-02-04 16:56:51 -05:00
Vladimir Mandic 3e04890233
fix double event trigger
this can cause endless loop on webui startup
2023-02-04 16:44:21 -05:00
AlUlkesh be513d619b
Merge pull request #13 from Klace/patch-1
Remove ip2p now that it's part of img2img
2023-02-04 20:45:48 +01:00
AlUlkesh 48194ab5a9 removed admin requirement for folders outside webui, 12 2023-02-04 20:41:39 +01:00
TwoPerCent fb2930ea09
Remove ip2p now that it's part of img2img
The ip2p directory and fields are redundant now, instruct-pix2pix extension with it's directory is now outdated as main repo support edit models and uses img2img
2023-02-04 14:40:08 -05:00
AlUlkesh 1cbf8b30f6 combined cache creations 2023-02-04 19:40:27 +01:00
AlUlkesh ec0970cec8 aes_cache fix, logger, warning_box = indicator 2023-02-03 12:04:47 +01:00
AlUlkesh d7e428b493 ranking_file to basedir, doube get_ranking removed 2023-02-03 00:26:18 +01:00
AlUlkesh 671eff171d Merge corrections
- basedir
- score verions
- removed doubled up aesthetic_score
- desc -> down_symbol
- "true" -> True, "false" -> False for gradio
2023-02-02 01:03:02 +01:00
AlUlkesh 23cfb7ba48 Small corrections 2023-01-31 23:48:12 +01:00
AlUlkesh c6b8cccd79 Merge remote-tracking branch 'webui-images-browser-Klace/main' into KlaceMerge 2023-01-31 22:20:51 +01:00
AlUlkesh 16dfbfcf7c Fix remove from saved, #5 2023-01-31 16:31:29 +01:00
AlUlkesh 994b3cada5 Folder depth, sort, refresh, #5 2023-01-31 10:53:06 +01:00
AlUlkesh 9774ed8372 Others tab enhancements, #5, some small changes
Others tab:
- Add/Remove from saved directories, via buttons
- New dropdown with subdirs
- path_recorder.txt is sorted on add/remove
- path_recorder.txt is first worked on in a .tmp version, before replacing the original file, to prevent a potential loss of all data in the file

Settings:
- Usage of path_recorder.txt no longer optional
- Option to not show the images from subdirs

Install:
- Fixed send2trash module check
2023-01-29 09:30:00 +01:00
AlUlkesh ff59466e02 Recycle bin option, #6 2023-01-28 21:50:48 +01:00
Kyle 974c5be722 Sorting and filtering will use .txt as well 2023-01-26 22:04:35 -05:00
Kyle 263502565e Remove Debug 2023-01-26 21:42:33 -05:00
Kyle 05993f5b2e EXIF from .txt 2023-01-26 21:38:56 -05:00
AlUlkesh 402c1addba realpath to abspath, update readme 2023-01-26 08:51:03 +01:00
AlUlkesh 35bef97243 Merge branch 'patch-1' of https://github.com/Ju1-js/stable-diffusion-webui-images-browser into Ju1-js-patch-1 2023-01-26 07:54:17 +01:00
AlUlkesh c6c8f6b841
Merge pull request #3 from Chadwick2332/main
https://github.com/Chadwick2332/stable-diffusion-webui-images-browser
2023-01-26 07:42:37 +01:00
Kyle daa1c3855b Allow to work in both standard Auto1111 repo and Klace
Checks for opts.outdir_ip2p_samples and if doesn't exist hardcodes directory to outputs/ip2p-images
2023-01-25 09:20:54 -05:00
Kyle d8e46b300d Update sort 2023-01-24 21:44:25 -05:00
AlUlkesh d223344938 Fixes #69 2023-01-14 19:38:11 +01:00
CJ 6e1f4a5d6a Added button for search by image aesthetic_score using image tags from PIL. If no tag, score is 0. 2023-01-02 02:12:58 -05:00
Ju1-js 7a4909d0cf Option to move or copy files - #54 2022-12-15 19:01:03 -08:00
Ju1-js cc6683a688 Path traversal exploit fix - #60
Also a comment typo fix.
2022-12-13 19:24:18 -08:00
Ju1-js 56b5929d30 Localize variable names and add random sort 2022-12-10 13:57:52 -08:00
Ju1-js c0d377de29 Q.o.L. Features and README.md update
Added 2 new settings:
 - Option to only store the directories accessed via the "Others" tab for the session. (Clears on refresh/restart)
 - Option to stop the printing of the deleted file's name to the console.

README.md changes:
 - Updated the title to match the new repo name
 - Removed an extra space
 - Ran "Prettier" formatting
2022-12-08 19:09:16 -08:00
HaylockGrant bfb0518192 Added tabs for txt2img-grids and img2img-grids 2022-11-30 15:13:10 +00:00
不会画画的中医不是好程序员 1b10fb015a
Merge branch 'main' into main 2022-11-04 14:55:04 +08:00
Chris OBryan a848c0e45a Improve Gallery performance on Windows
10x speed-up using 'sort by date' on Windows using scandir.
Neglible effect on Linux.
2022-11-03 22:44:00 -05:00
est-R 5f469e39b1 Update images_history.py
Made the filter case insensitive
2022-11-03 20:26:31 +03:00
Rohan-Pa c3e21b34de
Update images_history.py 2022-10-29 23:51:21 -07:00
Rohan-Pa 71900dcd6f
Update images_history.py 2022-10-29 23:38:39 -07:00
Rohan-Pa 017606009d
Update images_history.py 2022-10-29 23:28:58 -07:00
Rohan-Pa 4ddbf53ff8
Update images_history.py 2022-10-29 23:22:16 -07:00
yfszzx 51fd743564 connect with new webui 2022-10-27 18:10:19 +08:00
yfszzx 1817533fe2 connect with new webui 2022-10-27 18:08:30 +08:00
w-e-w 6abf3dd318 fix path 2022-10-26 16:36:00 +09:00
yfszzx 3a7865d365 fix some importent bug 2022-10-26 14:45:26 +08:00
yfszzx 3ae5aa90e2 Merge branch 'main' of https://github.com/yfszzx/stable-diffusion-webui-images-browse 2022-10-26 07:35:47 +08:00
yfszzx 55aeee3c27 t 2022-10-26 07:35:35 +08:00
ddPn08 e7c9776c36
do not force relative paths in image browser 2022-10-25 20:45:40 +09:00
yfszzx 1ace87f212 keyword, sort, send to img2img , administrator, esp 2022-10-25 18:06:59 +08:00
yfszzx b4f9566976 mkdir javascript 2022-10-24 14:15:33 +08:00
yfszzx 6b8e158dc1 remove cmd_opts 2022-10-24 11:03:51 +08:00
yfszzx 877e9015b2 remove cmd_opts 2022-10-24 10:51:40 +08:00
yfszzx e57f008c1c extension init 2022-10-24 09:53:35 +08:00
yfszzx c09b001e9f browser init 2022-10-23 17:38:23 +08:00