Commit Graph

217 Commits (main)

Author SHA1 Message Date
Ezekiel-Rage 26ab8d4e96
disabled open folder button on All tab
I need to investigate further to determine the best way to handle the button when an image is selected. For now it's disabled entirely on the All tab since it's non-functional.
2023-06-05 14:57:21 -07:00
Ezekiel-Rage 5c28f97770
"All" tab knock-on bug fix
The addition of the All tab introduced a bug in which an "All" folder is created in the root stable diffusion directory. This PR prevent the folder from being created.
2023-06-05 13:31:21 -07:00
AlUlkesh 488c5393db Use realpath for All tab 2023-06-05 16:15:52 +02:00
AlUlkesh f137cf82b0 Tab hiding consolidation, #198 2023-06-05 15:49:13 +02:00
AlUlkesh dab2cd99a6 Merge branch 'main' into pr/186 2023-06-05 09:12:46 +02:00
AlUlkesh b051835f09 set do_not_save_to_config, #195 2023-06-05 01:33:13 +02:00
AlUlkesh ba9bcee144 ImageReward reactivated. Fix #179 2023-06-02 00:16:29 +02:00
Ezekiel-Rage 04f87b271b Added All tab plus minor bug fixes
Added an "All" tab allowing users to view images in all subdirectories in a single view.

Modified behavior of opts.image_browser_with_subdirs to ignore "All" tab since users would reasonably expect an "All" tab to show all images regardless of what the option was set to.

Fixed bug generating tabs_list when opts.image_browser_active_tabs option was present but no value was set resulting in no tabs being displayed. Added a check to verify the value is != "" and reset to default value
2023-05-28 11:09:14 -07:00
Ezekiel-Rage 5aec351162
Update image_browser.py
Added "All" tab allowing users to view images in all subfolders together in a single view
2023-05-27 12:09:39 -07:00
Kohaku-Blueleaf 40081af791 use suffix to resolve label name conflict 2023-05-27 01:56:21 +08:00
Kohaku-Blueleaf aa95ec97ea Fix same label name error
avoiding sd-webui to override the value of textbox (when it is hidden)
2023-05-27 01:20:53 +08:00
AlUlkesh 7da8aec62b set image_browser_commit_hash default, #165 2023-05-11 07:53:55 +02:00
AlUlkesh c751a9eeed bringing preload back, #160 2023-05-09 18:07:49 +02:00
AlUlkesh e535ea6aea Changed recycle bin to be the default option, #159 2023-05-08 17:46:30 +02:00
AlUlkesh 05d88c7809 Debug; log image browser commit hash 2023-05-08 11:28:49 +02:00
AlUlkesh 080942e346 fix delete/left/right interactions, #159 2023-05-07 10:21:33 +02:00
AlUlkesh c4b6cefdbd Image Reward temporarily deactivated, #146 2023-05-06 21:33:01 +02:00
AlUlkesh 708bd5860e show_progress option, #100 2023-05-06 17:17:24 +02:00
AlUlkesh 806902a2c6 Image Reward support, #146 2023-05-05 08:56:52 +02:00
AlUlkesh 2f5bbd88e8 Size tooltip for thumbnails, #148 2023-05-03 23:17:36 +02:00
AlUlkesh 84cb617498 remove from others fix, #145 2023-04-30 20:47:45 +02:00
AlUlkesh 2c988c08c7 parameter fix, #72 2023-04-28 14:30:19 +02:00
AlUlkesh 704e42c10d Subdirs/Others tab fix, #141 2023-04-24 15:20:37 +02:00
AlUlkesh 7abd90ed83 Restart Debug option, #141 2023-04-24 01:14:35 +02:00
AlUlkesh 3930cd24d4 Min/max ranking filter, #140 2023-04-24 00:03:13 +02:00
AlUlkesh 0029d95a5f swipe is now optional, #81 2023-04-14 08:11:06 +02:00
AlUlkesh 57040c311f bugfix for #130 2023-04-11 20:15:08 +02:00
AlUlkesh f7c6ee41e1 capture logs to file, #130 2023-04-11 16:47:44 +02:00
AlUlkesh 2cba040fb4 New debug options 2023-04-10 01:23:17 +02:00
AlUlkesh 9e72ee78f4 Catch FileNotFoundError from run_pnginfo, #128 2023-04-09 20:37:46 +02:00
AlUlkesh 07811396c9 Prevent image reload when not using optimized thumbnails 2023-04-09 10:10:16 +02:00
AlUlkesh 42293adb8c Rework controlnet integration after Gradio upgrade, #100. #120 2023-04-08 07:24:11 +02:00
AlUlkesh 83419e4038 Switch to Gradio .then, #126, major rework 2023-04-07 14:09:03 +02:00
AlUlkesh 4b9755bb94 Handle non-RGB thumbnails, #125 2023-04-06 07:46:05 +02:00
AlUlkesh 19dff484de Fix gradio TypeError and associated sync issues, #117 2023-04-05 21:58:59 +02:00
pangbo13 8bef6215e8 Add cache for optimized thumbnails 2023-04-05 23:33:37 +08:00
AlUlkesh 766b6bd427 Make gradio requirement more visible, #123 2023-04-03 21:43:07 +02:00
AlUlkesh 07940948ba Fix for Return to thumbnail view, #122, check Gradio version 2023-04-03 15:52:07 +02:00
AlUlkesh db40a6e925 Fix double Maintenance tab, #112, #115 2023-04-01 15:48:20 +02:00
AlUlkesh 897531e41e fix ranking concurrency issue, #108, #109, improve EventListener 2023-03-31 17:10:06 +02:00
AlUlkesh 3590c5f889 Optimized images in the thumbnail interface 2023-03-30 14:49:35 +02:00
pangbo13 fde71b6bdd add bunch of event listeners to refresh preview 2023-03-30 11:02:51 +08:00
pangbo13 bbcc4ba6fb ignore images PIL cannot handle 2023-03-30 09:54:54 +08:00
pangbo13 5a511148df delete useless code 2023-03-29 23:41:39 +08:00
pangbo13 1ff32b994e Add option: "Use optimized images in the thumbnail interface" 2023-03-29 23:11:44 +08:00
AlUlkesh 1d5c2e758e fix thumbnail scrolling. #100 2023-03-28 15:19:52 +02:00
AlUlkesh 656ef38d4a catch UnidentifiedImageError for svg, #102 2023-03-28 09:08:09 +02:00
AlUlkesh 76d804769d support svg, #102 2023-03-28 08:55:28 +02:00
AlUlkesh a9032d4d32 alternate wib_db import, #97 2023-03-27 16:14:06 +02:00
AlUlkesh 2f9a106fd6 visual fix controls panel, #100 2023-03-27 14:40:10 +02:00
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