Commit Graph

100 Commits

Author SHA1 Message Date
AUTOMATIC1111
c7e810a985 add onEdit function for js and rework token-counter.js to use it 2023-10-01 10:15:23 +03:00
AUTOMATIC1111
bb91bb5e83
Merge pull request #12662 from bluelovers/bluelovers-patch-1-1
refactor: Update ui.js
2023-08-19 08:01:05 +03:00
bluelovers
1631e96a98
refactor: Update ui.js 2023-08-19 10:38:43 +08:00
AUTOMATIC1111
e053e21af6 put localStorage stuff into its own file 2023-08-05 08:48:03 +03:00
Aarni Koskela
fb87a05fe8 Don't crash if out of local storage quota
Fixes #12206 (works around it)
2023-07-31 11:23:26 +02:00
Aarni Koskela
dc7a1bbb1c Use onAfterUiUpdate where possible 2023-05-25 09:09:13 +03:00
Aarni Koskela
5ed970b949 Move token counters to separate JS file, fix names 2023-05-21 23:25:06 +03:00
Aarni Koskela
67d4360453 get_tab_index(): use a for loop with early-exit for performance 2023-05-19 13:06:12 +03:00
Aarni Koskela
563e88dd91 Replace args_to_array (and facsimiles) with Array.from 2023-05-19 13:05:26 +03:00
AUTOMATIC
bb80eea9d4 eslint the merged code 2023-05-18 10:03:48 +03:00
AUTOMATIC
c08f229318 Merge branch 'eslint' into dev 2023-05-18 10:02:17 +03:00
AUTOMATIC
57b75f4a03 eslint related file edits 2023-05-18 09:59:10 +03:00
AUTOMATIC
e5dd4b4ebf remove some code duplication from #9348 2023-05-17 23:27:06 +03:00
AUTOMATIC1111
04b4508a66
Merge branch 'dev' into improve-frontend-responsiveness 2023-05-17 23:18:56 +03:00
Aarni Koskela
9c54b78d9d Run eslint --fix (and normalize tabs to spaces) 2023-05-17 16:09:06 +03:00
AUTOMATIC
ad6ec02261 prevent Reload UI button/link from reloading the page when it's not yet ready 2023-05-09 11:42:47 +03:00
AUTOMATIC
fc966c0299 do not show licenses page when user selects Show all pages in settings 2023-05-08 15:30:32 +03:00
AUTOMATIC1111
50f63e2247
Merge branch 'dev' into js-misc-fixes 2023-05-01 14:39:46 +03:00
AUTOMATIC1111
6fbd85dd0c
Merge pull request #9969 from AUTOMATIC1111/restore_progress_fix
restore_progress fix
2023-05-01 14:09:32 +03:00
w-e-w
33e6bc34ff restore_progress fix
id wrong type
2023-05-01 19:59:52 +09:00
AUTOMATIC
67f5c2abb0 make it impossible to press the restore progress button after pressing it once 2023-05-01 13:58:10 +03:00
Aarni Koskela
c714300265 Use substring instead of deprecated substr 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
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
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
space-nuko
7201d940a4 Improve frontend responsiveness for some buttons 2023-04-03 21:27:48 -05:00
siutin
70ab21e67d keep randomId simpler 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
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
space-nuko
4414d36bf6
Merge branch 'master' into img2img-enhance 2023-03-28 10:59:12 -04:00
space-nuko
5eb7ff7768 Fix Send to img2img buttons 2023-03-25 14:52:47 -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
AUTOMATIC
9f0da9f6ed initial gradio 3.22 support 2023-03-25 09:00:36 +03:00
AUTOMATIC
399720dac2 update prompt token counts after using the paste params button 2023-01-30 01:03:31 +03:00
AUTOMATIC
1d8e06d542 add checkpoints tab for extra networks UI 2023-01-28 22:52:27 +03:00
AUTOMATIC
b5230197a6 rework extras tab to use script system 2023-01-23 09:24:43 +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
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
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
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
Vladimir Repin
8683427bd9 Process interrogation on all img2img subtabs 2023-01-18 20:25:52 +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
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