Commit Graph

294 Commits

Author SHA1 Message Date
Liam
b98740129c added event listener for the image gallery modal; moved js to separate file 2022-11-10 13:14:04 -05:00
Liam
81f2575df9 updating the displayed generation info when user clicks images in the gallery. feature request 4415 2022-11-09 15:24:31 -05:00
papuSpartan
00ebc26c4e
Merge branch 'AUTOMATIC1111:master' into master 2022-11-06 21:05:28 -06:00
AUTOMATIC
a2a1a2f727 add ability to create extensions that add localizations 2022-11-06 09:02:35 +03:00
byzod
7e5f1562ec
Update edit-attention.js
Fix https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3904
(Some sort of a workaround, the best way is to add unique id or class name to those prompt boxes)
2022-11-03 18:54:25 +08:00
Ikko Ashimine
d624cb82a7
Fix typo in ui.js
interation -> interaction
2022-11-03 01:05:00 +09:00
AUTOMATIC
95c6308ccd switch to gradio 3.8 2022-11-02 09:48:02 +03:00
papuSpartan
d0d74e459d
Merge branch 'AUTOMATIC1111:master' into js 2022-11-01 14:05:57 -05:00
papuSpartan
401350cd59 clear on the client-side again 2022-11-01 14:03:56 -05:00
AUTOMATIC
5b0f624bdc Added Available tab to extensions UI. 2022-11-01 09:59:10 +03:00
papuSpartan
25de9df364
Merge branch 'AUTOMATIC1111:master' into master 2022-10-31 15:08:54 -05:00
AUTOMATIC
910a097ae2 add initial version of the extensions tab
fix broken Restart Gradio button
2022-10-31 17:37:02 +03:00
AUTOMATIC1111
76086f6668
Merge branch 'master' into modal-save-button-and-shortcut 2022-10-29 09:11:00 +03:00
AUTOMATIC
af547f63c3 Merge branch 'Inspiron' 2022-10-29 08:48:11 +03:00
Florian Horn
403c5dba86 hide save btn for other tabs than txt2img and img2img 2022-10-28 00:58:18 +02:00
random_thoughtss
b68c7c437e Updated name and hover text. 2022-10-27 11:45:35 -07:00
Florian Horn
0995e879ce added save button and shortcut (s) to Modal View 2022-10-27 16:20:01 +02:00
yfszzx
4a4647e0df create send to buttons in one module 2022-10-27 13:36:11 +08:00
xmodar
d3eef0aa0c Remove rtl: false from localizations 2022-10-25 08:15:44 +03:00
xmodar
ca2ebc89c2 Add RTL languages support and improved Arabic localization 2022-10-25 08:15:44 +03:00
w-e-w
df0a1f8381 add hints, [datetime<Format><Time Zone>] 2022-10-24 16:01:48 +03:00
yfszzx
124e44cf1e remove browser to extension 2022-10-24 09:51:56 +08:00
yfszzx
6a9ea40d7f Move browser and Inspiration into extension 2022-10-23 16:17:37 +08:00
papuSpartan
ce42879438 fix js func signature and not forget to initialize confirmation var to prevent exception upon cancelling confirmation 2022-10-22 14:53:37 -05:00
yfszzx
40ddb6df61 inspiration perfected 2022-10-22 10:16:22 +08:00
papuSpartan
700340448b forgot to clear neg prompt after moving to back. Add tooltip to hints 2022-10-21 17:24:04 -05:00
papuSpartan
9e40520f00 refactor internal terminology to use 'clear' instead of 'trash' like #2728 2022-10-21 15:13:12 -05:00
papuSpartan
de70ddaf58 update token counter when clearing prompt 2022-10-21 15:00:35 -05:00
papuSpartan
ee0505dd00 only delete prompt on back end and remove client-side deletion 2022-10-21 14:24:14 -05:00
papuSpartan
9ba372de90 initial work on getting prompts cleared on the backend and synchronizing token counter 2022-10-21 13:55:48 -05:00
papuSpartan
4a9ff0891a
Merge branch 'AUTOMATIC1111:master' into master 2022-10-21 13:53:32 -05:00
yfszzx
2797b2cbf2 inspiration finished 2022-10-22 01:28:02 +08:00
yfszzx
bb0f1a2cda inspiration finished 2022-10-22 01:23:00 +08:00
AUTOMATIC
26d1073745 Merge remote-tracking branch 'historytab/master' 2022-10-21 18:49:56 +03:00
AUTOMATIC
24ce67a13b make aspect ratio overlay work regardless of selected localization, pt2 2022-10-21 17:41:47 +03:00
AUTOMATIC
704036ff07 make aspect ratio overlay work regardless of selected localization 2022-10-21 17:11:42 +03:00
papuSpartan
a3b047b7c7 add settings option to toggle button visibility 2022-10-20 19:28:58 -05:00
papuSpartan
a816514980 remove unnecessary assignment 2022-10-20 17:33:33 -05:00
papuSpartan
9cc4974d23 add confirmation dialogue 2022-10-20 17:03:51 -05:00
yfszzx
d07cb46f34 inspiration pull request 2022-10-20 23:58:52 +08:00
papuSpartan
158d678f59 clear prompt button now works on both relevant tabs. Device detection stuff will be added later. 2022-10-20 01:08:24 -05:00
Greg Fuller
13ed73beda Update Learning Rate tooltip 2022-10-19 21:29:32 +03:00
yfszzx
538bc89c26 Image browser improved 2022-10-19 11:27:51 +08:00
yfszzx
eb299527b1 Image browser 2022-10-18 20:14:11 +08:00
Justin Maier
7543787a0a Auto select attention block for editing 2022-10-18 14:24:01 +03:00
AUTOMATIC1111
f6c758d055
Merge branch 'master' into dark-mode 2022-10-18 14:04:17 +03:00
Adam Snodgrass
43cb1ddad2 prevent highlighting/selecting image 2022-10-18 07:58:51 +03:00
AUTOMATIC
cf47d13c1e localization support 2022-10-17 21:15:32 +03:00
Michoko
665beebc08 Use of a --theme argument for more flexibility
Added possibility to set the theme (light or dark)
2022-10-17 18:24:24 +02:00
AUTOMATIC
af3f6489d3 possibly defeat losing of focus for prompt when generating images with gallery open 2022-10-17 16:57:19 +03:00
Michoko
8c6a981d5d Added dark mode switch
Launch the UI in dark mode with the --dark-mode switch
2022-10-17 11:05:05 +02:00
yfszzx
2a3e7ed872 Merge branch 'master' of https://github.com/yfszzx/stable-diffusion-webui-plus 2022-10-17 15:23:32 +08:00
yfszzx
5b1394bead speed up images history perfect 2022-10-17 15:20:16 +08:00
fortypercnt
a1d3cbf92c Fix #2750
left / top alignment was necessary with gradio 3.4.1. In gradio 3.5 the parent div of the image mask is centered, so the left / top alignment put the mask in the wrong place as described in #2750 #2795 #2805. This fix was tested on Windows 10 / Chrome.
2022-10-17 07:48:28 +03:00
dvsilch
26a11776e4 fix: add null check when start running project the currentButton is null 2022-10-16 20:58:36 +03:00
yfszzx
a4de699e3c Images history speed up 2022-10-16 22:37:12 +08:00
AUTOMATIC
c57919ea2a keep focus on current element when updating gallery 2022-10-16 17:22:56 +03:00
yfszzx
f62905fdf9 images history speed up 2022-10-16 21:22:38 +08:00
yfszzx
5d8c59eee5 Merge branch 'master' of https://github.com/yfszzx/stable-diffusion-webui-plus 2022-10-16 12:34:05 +08:00
不会画画的中医不是好程序员
d41ac174e2
Merge branch 'AUTOMATIC1111:master' into master 2022-10-16 10:04:05 +08:00
yfszzx
763b893f31 images history sorting files by date 2022-10-16 10:03:09 +08:00
yfszzx
6e4f5566b5 sorting files 2022-10-15 23:53:49 +08:00
AUTOMATIC
73901c3f01 make attention edit only work with ctrl as was initially intended 2022-10-15 15:51:57 +03:00
AUTOMATIC
d3463bc59a change styling for top right corner UI
made save style button not die when you cancel
2022-10-15 14:22:30 +03:00
AUTOMATIC
3631adfe96 make dragging to prompt work again 2022-10-15 12:58:53 +03:00
aoirusann
db27b987a9 Add hint for ctrl/alt enter
And duplicate implementations are removed
2022-10-15 09:59:40 +03:00
ruocaled
661a61985c remove extra 100ms timeout 2022-10-15 09:32:01 +03:00
ruocaled
c7cd2fda5a re-attach full screen zoom listeners 2022-10-15 09:32:01 +03:00
ruocaled
b26efff8c4 allow re-open for multiple images gallery 2022-10-15 09:32:01 +03:00
ruocaled
c84eef8195 fix observer disconnect logic 2022-10-15 09:32:01 +03:00
ruocaled
6b5c54c187 remove console.log 2022-10-15 09:32:01 +03:00
ruocaled
3bd40bb77f auto re-open selected image after re-generation
attach an observer of gallery when generation in progress, if there was a image selected in gallery and gallery has only 1 image, auto re-select/open that image.

This matches behavior of prior to Gradio 3.4.1 version bump, is a quality of life feature many people enjoyed.
2022-10-15 09:32:01 +03:00
AUTOMATIC
acedbe67d2 bring history tab back, make it behave; it's still slow but won't fuck anything up until you use it 2022-10-15 00:43:15 +03:00
AUTOMATIC
c250cb289c change checkpoint merger to work in a more obvious way
remove sigmoid and inverse sigmoid because they just did the same thing as weighed sum only with changed multiplier
2022-10-14 22:02:32 +03:00
AUTOMATIC1111
6b77af7a43
Merge pull request #2396 from yfszzx/master
Add a "History" tab
2022-10-14 19:32:19 +03:00
AUTOMATIC
33ae6be55e fix paste not working in firefox
fix paste always going into txt2img field
2022-10-14 17:53:34 +03:00
AUTOMATIC
a156c097ab Merge branch 'param-loading' 2022-10-14 17:14:24 +03:00
不会画画的中医不是好程序员
f7712e28e5 Merge branch 'AUTOMATIC1111:master' into master 2022-10-14 14:43:44 +08:00
AUTOMATIC
fdecb63685 add an ability to merge three checkpoints 2022-10-14 09:20:24 +03:00
crackfoo
494afccbc1 Update hints.js
typo
2022-10-14 07:22:53 +03:00
不会画画的中医不是好程序员
7c8903367c
Merge branch 'AUTOMATIC1111:master' into master 2022-10-14 07:35:07 +08:00
yfszzx
a1489f9428 images history fix all known bug 2022-10-14 07:13:38 +08:00
AUTOMATIC
08b3f7aef1 emergency fix for broken send to buttons 2022-10-13 20:42:27 +03:00
Taithrah
dccc181b55 Update hints.js
typo
2022-10-13 18:03:56 +03:00
Kalle
cf1e8fcb30 Correct img gen count in notification
Display correct count of images generated in browser notification regardless of "Show grid in results for web" setting.
2022-10-13 17:36:49 +03:00
AUTOMATIC
bb7baf6b9c add option to change what's shown in quicksettings bar 2022-10-13 16:22:25 +03:00
Trung Ngo
e72adc999b Restore last generation params 2022-10-13 12:21:20 +03:00
DepFA
490494320e add missing id property 2022-10-13 07:47:41 +03:00
不会画画的中医不是好程序员
0186db178e
Merge branch 'AUTOMATIC1111:master' into master 2022-10-13 12:35:39 +08:00
yfszzx
716a9e034f images history delete a number of images consecutively next 2022-10-13 12:19:50 +08:00
d8ahazard
54e0051bdd Add drag/drop param loading.
Drop an image or generational text onto the prompt bar, it loads the info for parsing.
2022-10-12 18:17:26 -05:00
AUTOMATIC
c3c8eef9fd train: change filename processing to be more simple and configurable
train: make it possible to make text files with prompts
train: rework scheduler so that there's less repeating code in textual inversion and hypernets
train: move epochs setting to options
2022-10-12 20:49:47 +03:00
yfszzx
717ba4c71c images history improvement 2022-10-13 00:27:45 +08:00
yfszzx
a1a94b8b5f images history improvement 2022-10-13 00:19:34 +08:00
yfszzx
c87c3b9c11 test 2022-10-12 21:24:40 +08:00
yfszzx
511ca57e37 Merge branch 'master' of https://github.com/yfszzx/stable-diffusion-webui-plus 2022-10-12 20:48:03 +08:00
yfszzx
e05573e1ad images history improvement 2022-10-12 20:47:55 +08:00
AUTOMATIC1111
dc1432e0dd
Merge branch 'master' into feature/scale_to 2022-10-12 10:35:42 +03:00
LunixWasTaken
ca5efc316b Typo fix in watermark hint. 2022-10-12 10:11:06 +03:00
DepFA
6d408c06c6
Prevent nans from failed float parsing from overwriting weights 2022-10-12 00:19:28 +01:00
nai-degen
9e5f6b5580 triggers 'input' event when using arrow keys to edit attention 2022-10-11 21:19:30 +03:00
不会画画的中医不是好程序员
a36dea9596
Merge branch 'master' into master 2022-10-11 21:03:41 +08:00
yfszzx
87d63bbab5 images history improvement 2022-10-11 20:37:03 +08:00
DepFA
9b8faefde0 context menus closure 2022-10-11 15:34:48 +03:00
DepFA
45ada1c910 Correct list style, apply gen forever to both tabs, roll3 on both tabs 2022-10-11 15:34:48 +03:00
yfszzx
594ab4ba53 images history improvement 2022-10-11 20:23:41 +08:00
yfszzx
7b1db45e1f images history improvement 2022-10-11 20:17:27 +08:00
DepFA
42bf5fa325
Make cancel generate forever let the current gen complete (#2206) 2022-10-10 21:54:21 +01:00
AUTOMATIC
f98338faa8 add an option to not add watermark to created images 2022-10-10 23:15:48 +03:00
AUTOMATIC
39919c40dd add eta noise seed delta option 2022-10-10 20:32:44 +03:00
不会画画的中医不是好程序员
1e18a5ffcc
Merge branch 'AUTOMATIC1111:master' into master 2022-10-10 20:21:25 +08:00
yfszzx
23f2989799 images history over 2022-10-10 18:33:49 +08:00
yfszzx
8a7c07a214 show image history 2022-10-10 15:39:39 +08:00
Justin Maier
6435691bb1 Add "Scale to" option to Extras 2022-10-09 19:26:52 -06:00
DepFA
d3cd46b038
Update lightbox to change displayed image as soon as generation is complete (#1933)
* add updateOnBackgroundChange
* typo fixes.
* reindent to 4 spaces
2022-10-09 16:19:33 +01:00
Aidan Holland
432782163a chore: Fix typos 2022-10-08 22:42:30 +03:00
guaneec
32e428ff19 Remove duplicate event listeners 2022-10-08 15:47:24 +03:00
Trung Ngo
786d9f63aa Add button to skip the current iteration 2022-10-08 13:40:39 +03:00
DepFA
21679435e5 implement removal 2022-10-08 09:43:31 +03:00
DepFA
e21e473253 Context Menus 2022-10-08 09:43:31 +03:00
Jairo Correa
a958f9b3fd edit-attention browser compatibility and readme typo 2022-10-08 09:38:44 +03:00
AUTOMATIC
2995107fa2 added ctrl+up or ctrl+down hotkeys for attention 2022-10-06 23:44:54 +03:00
DepFA
c06298d1d0 add check for progress in title setting 2022-10-06 17:58:52 +03:00
DepFA
67d011b02e Show generation progress in window title 2022-10-05 11:42:11 +03:00
AUTOMATIC
556c36b960 add hint, refactor code for #1607 2022-10-04 09:18:00 +03:00
Hanusz Leszek
e615d4f9d1 Convert folder icon surrogate pair to valid utf8 2022-10-03 07:59:13 +03:00
AUTOMATIC1111
688c4a914a
Merge branch 'master' into 1404-script-reload-without-restart 2022-10-02 21:33:22 +03:00
liamkerr
7308aeefd9
Merge branch 'master' into token_updates 2022-10-02 10:02:38 -04:00
AUTOMATIC
820f1dc96b initial support for training textual inversion 2022-10-02 15:03:39 +03:00
DepFA
55b046312c
move JavaScript into ui.js 2022-10-02 00:12:49 +01:00
Liam
3c6a049fc3 consolidated token counter functions 2022-09-30 18:22:50 -04:00
Liam
abdbf1de64 token counters now update when roll artist and style buttons are pressed https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/1194#issuecomment-1261203893 2022-09-30 18:22:40 -04:00
AUTOMATIC
6b02966fcd fix #1405 submitting both tabs 2022-10-01 00:14:44 +03:00
Trung Ngo
d1db330010 ALT + return will submit prompt when it's in focus 2022-09-30 15:39:57 -05:00
RnDMonkey
ff4df06c57 refined [styles] pattern and added [prompt_no_styles] 2022-09-30 13:00:43 +03:00
Michoko
f8acbb8f88 Add output folder icons
Adds icons on the first 3 tabs to directly open the corresponding images output directory
2022-09-29 12:10:00 +03:00
Liam
7ca9858c4c removed unused import; now using javascript to watch prompt textarea 2022-09-28 09:43:54 -04:00
Liam
e5707b66d6 switched the token counter to use hidden buttons instead of api call 2022-09-27 19:29:53 -04:00
Liam
981fe9c4a3 Merge remote-tracking branch 'upstream/master' into token_count 2022-09-27 16:37:24 -04:00
Liam
5034f7d759 added token counter next to txt2img and img2img prompts 2022-09-27 15:56:18 -04:00
48DESIGN
e4145c8453
Merge branch 'master' into notification-sound 2022-09-27 08:05:19 +02:00
Connum
c0b1177a32 refactored image paste handling to fill unset images successively, then replace last existing image (fixes #981) 2022-09-27 08:59:40 +03:00
Alexandre Simard
c74becca23 Solve issue #962
Fix by @MrAcademy
2022-09-27 08:52:43 +03:00
Connum
2846ca5702 adds support for a notification.mp3 in the root directory that will play upon completion (fixes #1013) 2022-09-26 22:57:31 +02:00
tateisu
78d6aef302 use strftime. update hints.js 2022-09-26 16:24:21 +03:00
Eyrie
1877a3767e Changed job_id to timestamp 2022-09-25 17:11:07 +03:00
Eyrie
ba34b790d3 Added hints for file & dir patterns 2022-09-25 17:11:07 +03:00
Eyrie
40166dbf08 Added job_id pattern for directories 2022-09-25 17:11:07 +03:00
RnDMonkey
a2bea2f97a added [styles] filename pattern 2022-09-24 11:12:58 +03:00
DepFA
e560eb8b60 Only switch between visible gallery entries
Since the other tabs are kept in the dom now filtering is needed.
2022-09-23 23:38:45 +03:00