Commit Graph

464 Commits

Author SHA1 Message Date
Aarni Koskela
b7269f781c Mark Notification.requestPermission's retval as purposely ignored 2023-04-30 22:26:11 +03:00
Aarni Koskela
f6a40a2ffa Fix unused variables 2023-04-30 22:26:11 +03:00
Aarni Koskela
8ccc27127b Fix a whole bunch of implicit globals 2023-04-30 22:08:52 +03:00
Aarni Koskela
34a6ad80d5 Use classList.toggle wherever possible 2023-04-30 14:48:02 +03:00
Aarni Koskela
ee973dcf1d imageMaskFix.js: fix event listeners to not use anonymous trampoline 2023-04-30 14:46:03 +03:00
Aarni Koskela
13d8d65ef9 hints: don't process elements that already have a title 2023-04-30 14:46:03 +03:00
AUTOMATIC
c48ab36cb9 alternate restore progress button implementation 2023-04-29 22:16:54 +03:00
AUTOMATIC
bd9700405a Revert "Merge pull request #7595 from siutin/feature/restore-progress"
This reverts commit 80987c36f9, reversing
changes made to 2e78e65a22.
2023-04-29 22:15:20 +03:00
AUTOMATIC1111
15c4e78b44
Merge branch 'dev' into feature/restore-progress 2023-04-29 22:13:40 +03:00
AUTOMATIC1111
3baeefd30a
Merge pull request #9933 from w-e-w/dev
add missing filename pattern hints
2023-04-29 20:13:58 +03:00
AUTOMATIC1111
45371704f6
Merge pull request #7632 from papuSpartan/gamepad
Image viewer scrolling via analog stick
2023-04-29 19:43:34 +03:00
AUTOMATIC
e40b2d947d change gradio callback from change to release in a bunch of places now that it's fixed in gradio 2023-04-29 19:39:22 +03:00
AUTOMATIC1111
b615a2ed11
Merge pull request #9108 from AUTOMATIC1111/img2img-scale-by
add "resize by" and "resize to" tabs to img2img
2023-04-29 18:21:28 +03:00
AUTOMATIC1111
78d0ee3bba
Merge branch 'dev' into extension-settings-backup 2023-04-29 17:22:24 +03:00
AUTOMATIC1111
263f0fb59c
Merge branch 'dev' into remove-watermark-option 2023-04-29 16:50:52 +03:00
w-e-w
7749f2d8ad hints [batch_number] [generation_number] 2023-04-29 22:47:38 +09:00
AUTOMATIC
1d11e89698 rework Negative Guidance minimum sigma to work with AND, add infotext and copypaste parameters support 2023-04-29 15:57:09 +03:00
w-e-w
720fc88273 hints [clip_skip] 2023-04-29 20:55:01 +09:00
AUTOMATIC1111
43dd2378af
Merge branch 'dev' into generation_params_fix 2023-04-29 13:24:50 +03:00
AUTOMATIC1111
87535fcf29
Merge branch 'dev' into Branch_AddNewFilenameGen 2023-04-29 13:10:46 +03:00
AUTOMATIC1111
09069918e8
Merge pull request #9750 from TFWol/patch-1
Remove old code roll random artists
2023-04-29 11:15:26 +03:00
AUTOMATIC1111
7393fdefd5
Merge pull request #9060 from AlUlkesh/master
fix: lightboxModal, selectedTab
2023-04-29 10:46:10 +03:00
AUTOMATIC1111
d2f3f40a86
Merge pull request #9227 from bbonvi/master
fix disappearing live previews and progressbar during slow tasks
2023-04-29 10:29:47 +03:00
missionfloyd
0e071ae504 Custom delimiters 2023-04-25 08:08:57 -06:00
bbonvi
8ae8aeca75 pull progress for 40 seconds
for some extreme network conditions 20 seconds may not be enough
2023-04-24 13:12:49 +06:00
missionfloyd
c1fdba5904
Remove hyphen, underscore delimiters 2023-04-21 13:44:31 -06:00
missionfloyd
27d02597c7
Remove parentheses if weight == 1 2023-04-21 01:37:29 -06:00
missionfloyd
7ef5551634 Update delimiters 2023-04-20 02:24:38 -06:00
missionfloyd
ee172c0fc1 Simplify finding word boundaries
This also makes it work with prompts without spaces between words
2023-04-20 01:34:13 -06:00
missionfloyd
fbd34a6847 Use string.contains() instead of regex 2023-04-20 01:12:59 -06:00
missionfloyd
e735be8b5b Automatically select current word 2023-04-19 22:04:34 -06:00
TFWol
33365f15bf
Remove old code roll random artists
Removed context menu entry that used to be for rolling artists from the now removed artists.csv.

It was probably meant to be removed at commit 6d805b6.
2023-04-19 14:23:46 -07:00
tqwuliao
02e3518807 Add new FilenameGenerator [hasprompt<prompt1|default><prompt2>..] 2023-04-15 23:20:08 +08:00
Sakura-Luna
57a3d146e3 Tooltip localization support 2023-04-14 14:09:33 +08:00
space-nuko
7201d940a4 Improve frontend responsiveness for some buttons 2023-04-03 21:27:48 -05:00
Liam
54fd00ff8f fixed logic for updating the displayed generation params when the image modal is closed 2023-04-03 13:28:20 -04:00
bbonvi
c938b172a4 fix missing live preview and progress during certain tasks
Sometimes tasks take longer than 5 seconds to start,
resulting in missing progress bar and livepreviews,
so we have to keep pulling for progress a bit longer (5s -> 20s).
2023-03-31 19:34:58 +06:00
siutin
70ab21e67d keep randomId simpler 2023-03-30 17:20:09 +08:00
siutin
90366b8d85 tool button 2023-03-30 17:20:09 +08:00
siutin
4242e194e4 add a button to restore the current progress 2023-03-30 17:20:09 +08:00
space-nuko
f3320b802c Various UI fixes in config state tab 2023-03-29 18:35:25 -05:00
space-nuko
ad5afcaae0 Save/restore working webui/extension configs 2023-03-29 16:55:33 -05:00
AlUlkesh
5a25826d84 try both versions of appendChild 2023-03-28 23:28:46 +02:00
AUTOMATIC
d667fc435f add "resize by" and "resize to" tabs to img2img 2023-03-28 22:23:40 +03:00
AUTOMATIC
433b3ab701 Revert "Merge pull request #7931 from space-nuko/img2img-enhance"
This reverts commit 4268759370, reversing
changes made to 1b63afbedc.
2023-03-28 20:36:57 +03:00
AUTOMATIC1111
4268759370
Merge pull request #7931 from space-nuko/img2img-enhance
Add `Upscale by` and `Upscaler` options to img2img
2023-03-28 20:21:25 +03:00
space-nuko
4414d36bf6
Merge branch 'master' into img2img-enhance 2023-03-28 10:59:12 -04:00
space-nuko
082613036a
Merge branch 'master' into remove-watermark-option 2023-03-27 16:26:23 -05:00
AlUlkesh
9ecf347133 fix: lightboxModal, selectedTab 2023-03-27 20:01:19 +02:00
space-nuko
fc8e1008ea Make disable configurable between builtin/extra extensions 2023-03-27 12:44:49 -04:00
AUTOMATIC1111
a7d6fc3b42
Merge pull request #8569 from missionfloyd/extra-networks-toggle
Make extra networks button togglable
2023-03-27 07:35:39 +03:00
AUTOMATIC1111
e8f34e3b41
Merge pull request #8938 from space-nuko/fix-image-ar-overlay
Fix img2img aspect ratio overlay in Gradio 3.23.0
2023-03-27 07:06:24 +03:00
missionfloyd
6f18c9b13f
Merge branch 'master' into extra-networks-toggle 2023-03-25 14:51:25 -06:00
space-nuko
5eb7ff7768 Fix Send to img2img buttons 2023-03-25 14:52:47 -04:00
space-nuko
945f6e5e99 Fix img2img aspect ratio overlay in Gradio 3.23.0 2023-03-25 14:44:41 -04:00
space-nuko
9377092a89 Fix notifications not triggering 2023-03-25 14:28:20 -04:00
space-nuko
c5f9f7c237 Use .success() callback on img2img preview inputs change 2023-03-25 14:26:36 -04:00
space-nuko
75e7eb9172 img2img resolution preview should use currently selected tab's image 2023-03-25 12:53:03 -04:00
space-nuko
68999d0b15 Add upscale slider to img2img 2023-03-25 12:52:35 -04:00
pieresimakp
e3b9d0e3e8 Merge branch 'master' into img2img-detect-image-size 2023-03-25 23:00:45 +08:00
AUTOMATIC
b7c14ed041 final part of merging #8749 2023-03-25 12:10:03 +03:00
AUTOMATIC1111
8dbe793af5
Merge branch 'master' into extra-network-info 2023-03-25 12:08:24 +03:00
AUTOMATIC1111
442f710d94
Merge pull request #8799 from JaRail/master
Loopback Script Updates
2023-03-25 10:41:24 +03:00
AUTOMATIC
9ed04e759d use HTTP request to fetch metadata for Lora cards instead of including it into the main page 2023-03-25 10:11:04 +03:00
AUTOMATIC
58c3144d2b fix generate forever and other context menus 2023-03-25 09:00:38 +03:00
AUTOMATIC
9b2f205400 fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
2023-03-25 09:00:36 +03:00
AUTOMATIC
9f0da9f6ed initial gradio 3.22 support 2023-03-25 09:00:36 +03:00
pieresimakp
771ea212de added button to grab the width and height from the loaded image in img2img 2023-03-24 12:41:17 +08:00
space-nuko
d86beb8228 Remove "do not add watermark to images" option 2023-03-23 17:09:59 -04:00
James Railton
33b8539147 Loopback Script Updates
- Improved user experience. You can now pick the denoising strength of the final loop and one of three curves. Previously you picked a multiplier such as 0.98 or 1.03 to define the change to the denoising strength for each loop. You had to do a ton of math in your head to visualize what was happening. The new UX makes it very easy to understand what's going on and tweak.
- For batch sizes over 1, intermediate images no longer returned. For a batch size of 1, intermediate images from each loop will continue to be returned. When more than 1 image is returned, a grid will also be generated. Previously for larger jobs, you'd get back a mess of many grids and potentially hundreds of images with no organization. To make large jobs usable, only final images are returned.
- Added support for skipping current image. Fixed interrupt to cleanly end and return images. Previously these would throw.
- Improved tooltip descriptions
- Fix some edge cases
2023-03-21 21:07:33 -04:00
missionfloyd
8e3ced73a8 Add event.stopPropagation() to extraNetworksShowMetadata()
Prevent bubbling the same way "replace preview" does
2023-03-20 18:04:22 -06:00
missionfloyd
575c17a8f9
Update tooltip per Kilvoctu's suggestion 2023-03-15 16:56:27 -06:00
unknown
54291f9d63
remove redundant load 2023-03-15 04:33:38 -05:00
AUTOMATIC
c19530f1a5 Add view metadata button for Lora cards. 2023-03-14 09:10:26 +03:00
unknown
40dc0132df
modularize 2023-03-13 03:39:02 -05:00
AUTOMATIC1111
6106f6d0a0
Merge pull request #7965 from Kilvoctu/extranet-buttons
Use emojis for extra network buttons
2023-03-12 08:25:03 +03:00
AUTOMATIC1111
3e2ac603e9
Merge pull request #8156 from bluelovers/pr/lightbox-001
feat: better lightbox when not enable zoom
2023-03-12 08:06:27 +03:00
bluelovers
db85421da1 feat: better lightbox when not enable zoom 2023-03-12 10:25:42 +08:00
Kilvoctu
247a34498b restore text, remove 'close'
don't use emojis for extra network buttons; remove 'close'
2023-03-11 13:11:26 -06:00
AUTOMATIC1111
92bb54720f
Merge pull request #8031 from DrakeRichards/notification-fix
Bug fix: Added results selector for notifications
2023-03-11 15:19:03 +03:00
AUTOMATIC1111
2b0ef2c4e6
Merge pull request #8112 from vladmandic/progressbar
fix progressbar
2023-03-11 14:36:23 +03:00
AUTOMATIC
aaa367e35c new setting: Extra text to add before <...> when adding extra network to prompt 2023-03-11 14:18:18 +03:00
space-nuko
ac38ad7e60 Merge remote-tracking branch 'origin/master' into unipc 2023-03-10 19:42:46 -05:00
Vladimir Mandic
ed43a822b2
fix progressbar 2023-02-25 12:56:03 -05:00
Thomas Young
6825de7bc8
Added results selector
This causes the querySelectorAll function to only select images in a results div, ignoring images that might be in an extension's gallery.
2023-02-22 15:31:49 -06:00
space-nuko
1253199889 Working UniPC (for batch size 1) 2023-02-10 03:30:20 -08:00
unknown
bfa14db2cb
enable gallery scrolling functionality for horizontal scroll and gamepads 2023-02-07 16:54:12 -06:00
Vladimir Repin
df8ee5f6b0 Update batch count/size hints 2023-02-06 00:52:57 +03:00
unknown
501d4e9cf1
Merge branch 'master' of github.com:AUTOMATIC1111/stable-diffusion-webui into gamepad 2023-02-05 07:24:57 -06:00
techneconn
5a1b62e9f8 Add prompt_hash option for file/dir name pattern 2023-02-05 15:48:51 +09:00
unknown
5e1f4f7464
Merge branch 'master' of github.com:AUTOMATIC1111/stable-diffusion-webui into gamepad 2023-02-03 20:39:42 -06:00
Piotr Pomierski
bfe7e7f15f Fix missing tooltip for 'Clear prompt' button 2023-01-31 01:51:07 +01:00
unknown
21766a0898 Merge branch 'master' of github.com:AUTOMATIC1111/stable-diffusion-webui into gamepad 2023-01-30 05:12:31 -06:00
AUTOMATIC
399720dac2 update prompt token counts after using the paste params button 2023-01-30 01:03:31 +03:00
AUTOMATIC
8d7382ab24 add buttons for auto-search in subdirectories for extra tabs 2023-01-29 11:34:58 +03:00
AUTOMATIC
f6b7768f84 support for searching subdirectory names for extra networks 2023-01-29 10:20:19 +03:00
AUTOMATIC
0a8515085e make it so that clicking on hypernet/lora card one more time removes the related from the prompt 2023-01-28 23:31:48 +03:00
AUTOMATIC
1d8e06d542 add checkpoints tab for extra networks UI 2023-01-28 22:52:27 +03:00
AUTOMATIC
f8feeaaedb add progressbar to extension update check; do not check for updates for disabled extensions 2023-01-28 15:57:56 +03:00
unknown
e79b7db4b4 Merge branch 'master' of github.com:AUTOMATIC1111/stable-diffusion-webui into gamepad 2023-01-28 03:40:51 -06:00
unknown
b921a52071 basic image next and prev control with joystick 2023-01-28 03:19:10 -06:00
EllangoK
32d389ef0f changes remaining text from X/Y -> X/Y/Z 2023-01-27 14:04:23 -05:00
AUTOMATIC
b5230197a6 rework extras tab to use script system 2023-01-23 09:24:43 +03:00
AUTOMATIC
35419b2746 add an option to reorder tabs for extra networks 2023-01-22 11:00:05 +03:00
AUTOMATIC
159f05314d make extra networks search case-insensitive 2023-01-22 10:30:55 +03:00
AUTOMATIC
837ec11828 hint for discarding layers 2023-01-22 10:17:26 +03:00
AUTOMATIC
2621566153 attention ctrl+up/down enhancements 2023-01-22 08:07:18 +03:00
AUTOMATIC
fe7a623e6b add a slider for default value of added extra networks 2023-01-22 00:02:52 +03:00
AUTOMATIC
424cefe118 add search box to extra networks 2023-01-21 17:20:24 +03:00
AUTOMATIC
184e23eb89 relocate tool buttons next to generate button
prevent extra network tabs from putting images into wrong prompts
prevent settings leaking into prompt
2023-01-21 09:58:57 +03:00
AUTOMATIC
6d805b669e make CLIP interrogator download original text files if the directory does not exist
remove random artist built-in extension (to re-added as a normal extension on demand)
remove artists.csv (but what does it mean????????????????????)
make interrogate buttons show Loading... when you click them
2023-01-21 09:14:27 +03:00
AUTOMATIC
40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
AUTOMATIC
e33cace2c2 fix ctrl+up/down that stopped working 2023-01-20 12:19:30 +03:00
AUTOMATIC
20a59ab3b1 move token counter to the location of the prompt, add token counting for the negative prompt 2023-01-20 10:18:41 +03:00
AUTOMATIC
6c7a50d783 remove some unnecessary logging to javascript console 2023-01-20 08:36:37 +03:00
poiuty
81276cde90
internal progress relative path 2023-01-19 16:56:45 +03:00
AUTOMATIC
c12d7ddd72 add handling to some places in javascript that can potentially cause issues #6898 2023-01-19 16:08:09 +03:00
AUTOMATIC
0f5dbfffd0 allow baking in VAE in checkpoint merger tab
do not save config if it's the default for checkpoint merger tab
change file naming scheme for checkpoint merger tab
allow just saving A without any merging for checkpoint merger tab
some stylistic changes for UI in checkpoint merger tab
2023-01-19 10:39:51 +03:00
AUTOMATIC
c7e50425f6 add progress bar to modelmerger 2023-01-19 09:25:37 +03:00
AUTOMATIC1111
c94abc8862
Merge pull request #6895 from mezotaken/interrogate-all-tabs
Process interrogation on all img2img subtabs
2023-01-18 23:07:41 +03:00
AUTOMATIC
924e222004 add option to show/hide warnings
removed hiding warnings from LDSR
fixed/reworked few places that produced warnings
2023-01-18 23:04:24 +03:00
Vladimir Repin
8683427bd9 Process interrogation on all img2img subtabs 2023-01-18 20:25:52 +03:00
AUTOMATIC
0c5913b9c2 re-enable image dragging on non-firefox browsers 2023-01-18 14:14:50 +03:00
AUTOMATIC
26fd444811 bump gradio to 3.16.2
change style selection to multiselect dropdown
2023-01-18 13:59:45 +03:00
AUTOMATIC
d8f8bcb821 enable progressbar without gallery 2023-01-18 13:20:47 +03:00
AUTOMATIC
dac59b9b07 return progress percentage to title bar 2023-01-18 06:13:45 +03:00
AUTOMATIC
38b7186e6e update sending input event in java script to not cause exception in browser https://github.com/gradio-app/gradio/issues/2981 2023-01-17 14:15:47 +03:00
AUTOMATIC
55947857f0 add a button for XY Plot to fill in available values for axes that support this 2023-01-16 17:36:56 +03:00
AUTOMATIC
064983c0ad return an option to hide progressbar 2023-01-16 12:56:30 +03:00
AUTOMATIC
fc25af3939 remove unneeded log from progressbar 2023-01-15 23:23:24 +03:00
AUTOMATIC
a534bdfc80 add setting for progressbar update period 2023-01-15 20:29:55 +03:00
AUTOMATIC
f6aac4c65a eliminate flicker for live previews 2023-01-15 20:29:55 +03:00
AUTOMATIC
d8b90ac121 big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other 2023-01-15 18:51:04 +03:00
Josh R
cbbdfc3609 Fix Aspect Ratio Overlay / AROverlay to work with Inpaint & Sketch 2023-01-14 14:45:08 -08:00
AUTOMATIC
86359535d6 add buttons to copy images between img2img tabs 2023-01-14 22:43:01 +03:00
AUTOMATIC
08c6f009a5 load hashes from cache for checkpoints that have them
add checkpoint hash to footer
2023-01-14 15:55:40 +03:00
AUTOMATIC
865228a837 change style dropdowns to multiselect 2023-01-14 14:56:39 +03:00
AUTOMATIC1111
d7aec59c4e
Merge pull request #6667 from Shondoit/zero-vector-ti
Allow creation of zero vectors for TI
2023-01-12 22:05:10 +03:00
AUTOMATIC
5623a3e7b1 fix send to inpaint sending you to wrong place 2023-01-12 19:47:33 +03:00
Shondoit
d48dcbd2b2 Add zero vector feature to hints.js
Also add the note that some tokens might be skipped. Not everyone is aware of this.
2023-01-12 09:53:35 +01:00
Alexey Shirokov
b202714b65
Fix keyboard navigation in modal image viewer 2023-01-11 11:41:50 +03:00
AUTOMATIC1111
dd21af06fa
Merge pull request #6462 from Taithrah/small-touch-up
Update hints.js
2023-01-09 19:38:08 +03:00
AUTOMATIC
d4fd2418ef add an option to use old hiresfix width/height behavior
add a visual effect to inactive hires fix elements
2023-01-09 14:57:47 +03:00
Taithrah
8a27730da5
Update hints.js
Partial revert
2023-01-07 06:11:57 -05:00
Taithrah
a36e2744e2
Update hints.js
Small touch up to hints
2023-01-07 04:09:02 -05:00
AUTOMATIC
5f4fa942b8 do not show full window image preview when right mouse button is used 2023-01-05 02:38:52 +03:00
AUTOMATIC
b663ee2cff fix fullscreen view showing wrong image on firefox 2023-01-05 00:36:10 +03:00
AUTOMATIC
8149078094 added the option to specify target resolution with possibility of truncating for hires fix; also sampling steps 2023-01-04 22:04:40 +03:00
AUTOMATIC1111
4ae960b01c
Merge pull request #4177 from eltociear/patch-2
Fix typo in ui.js
2023-01-04 17:59:31 +03:00
MMaker
7c89f3718f
Add image paste fallback
Fixes Firefox pasting support
(and possibly other browsers)
2023-01-03 12:46:48 -05:00