Commit graph

3839 commits

Author SHA1 Message Date
Yea Chen
f85a192f99
Update modules/api/api.py
Suggested change by @akx

Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-03-07 04:04:35 +08:00
Pam
fec0a89511 scaled dot product attention 2023-03-07 00:33:13 +05:00
Aarni Koskela
06f167da37 Extra networks: support .txt description sidecar file 2023-03-06 21:15:33 +02:00
Aarni Koskela
49b1dc5e07 Deduplicate extra network preview-search code 2023-03-06 21:00:34 +02:00
Brad Smith
d118cb6ea3
use lowercase name for sorting; keep UpscalerLanczos and UpscalerNearest at the start of the list with UpscalerNone
Co-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>
2023-03-06 13:21:42 -05:00
DejitaruJin
c8b52c7975
Short-circuit error handling 2023-03-04 19:32:09 -05:00
Vladimir Mandic
b012d70f15
update using original defaults 2023-03-04 17:51:37 -05:00
DejitaruJin
eb29ff211a
Add files via upload 2023-03-04 16:06:40 -05:00
DejitaruJin
fe7d7dfd5a
Add files via upload 2023-03-04 15:40:35 -05:00
DejitaruJin
2ba880704b
Add files via upload 2023-03-04 13:00:27 -05:00
DejitaruJin
2d9635cce5
Fix display and save order for X/Y/Z Grid script 2023-03-04 12:51:55 -05:00
Yea chen
c48bbccf12 add: /sdapi/v1/scripts in API
API for get scripts list
2023-03-04 11:46:07 +08:00
Vladimir Mandic
f8e219bad9
allow api requests to specify do not send images in response 2023-03-03 09:00:52 -05:00
Vladimir Mandic
23d4fb5bf2
allow saving of images via api 2023-03-03 08:29:10 -05:00
Ju1-js
fc3063d9b9
Remove unnecessary line 2023-03-01 18:25:23 -08:00
Adam Huganir
b14d8b61bd
version bump for git python due to CVE-2022-24439
required version for CVE-2022-24439 is >= 3.130
2023-03-01 13:07:37 -05:00
Ju1-js
7990ed92be
Slash was facing the wrong way 2023-02-28 22:05:47 -08:00
Ju1-js
1e30e4d9eb Gradio auth logic fix - Handle empty/newlines
When the massive one-liner was split into multiple lines, it lost the ability to handle newlines. This removes empty strings & newline characters from the logins. It also closes the file so it's more robust if the garbage collection function is ever changed.
2023-02-28 15:55:12 -08:00
Vespinian
c6c2a59333 comment clarification 2023-02-27 23:45:59 -05:00
Vespinian
a39c4cf766 small refactor of api.py 2023-02-27 23:27:33 -05:00
Vespinian
3b6de96467 Added alwayson_script_name and alwayson_script_args to api
Added 2 additional possible entries in the api request: alwayson_script_name, a string list, and, alwayson_script_args, a list of list containing the args of each script. This allows us to send args to always on script and keep backwards compatibility with old script_name and script_arg api params
2023-02-27 21:51:20 -05:00
Vladimir Mandic
3c6459154f
add check for resulting image size 2023-02-27 17:28:04 -05:00
Adam Huganir
6d92d95a33 git 3.1.30 api change 2023-02-25 19:15:06 +00:00
Vladimir Mandic
ed43a822b2
fix progressbar 2023-02-25 12:56:03 -05:00
missionfloyd
aa108bd02a Add lossless webp option 2023-02-24 20:57:18 -07:00
Brad Smith
b15bc73c99
sort upscalers by name 2023-02-24 14:45:08 -05:00
laksjdjf
534cf60afb
Update script_callbacks.py 2023-02-24 14:26:55 +09:00
laksjdjf
9a1435946c
Update sd_samplers_kdiffusion.py 2023-02-24 14:04:23 +09:00
laksjdjf
327186b484
Update script_callbacks.py 2023-02-24 14:03:46 +09:00
Tpinion
ac4c7f05cd Filter out temporary files that will be generated if the download fails. 2023-02-24 00:42:29 +08:00
fkunn1326@users.noreply.github.com
b90cad7f31 Add .mjs support for extensions 2023-02-23 03:29:22 +00: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
112292454
2fa91cbee6
Update prompt_matrix.py
1
2023-02-23 01:55:07 +08:00
112292454
2c58d373dd
Update prompt_matrix.py
this file last commit fixed common situation when using both prompts matrix and high-res。
but if we just open matrix option,but not use ‘|’,we will only get one pic,and `processed.images[0].width, processed.images[1].height` will cause a index out of bounds exception
2023-02-22 21:40:42 +08:00
space-nuko
a2d635ad13 Add before_process_batch script callback 2023-02-22 01:52:53 -08:00
Kilvoctu
32a4c8d961 use emojis for extra network buttons
🔄 for refresh
 for close
2023-02-20 15:14:06 -06:00
xSinStarx
b0f2653541
Fixes img2img Negative Token Counter
The img2img negative token counter is counting the txt2img negative prompt.
2023-02-20 12:39:38 -08:00
EllangoK
bab972ff8a fixes newline being detected as its own entry 2023-02-20 10:16:55 -05:00
AUTOMATIC1111
0cc0ee1bcb
Merge pull request #7945 from w-e-w/fix-image-downscale
Fix broken image downscale TypeError
2023-02-20 14:45:54 +03:00
w-e-w
f71a3c9c3a convert resolution to int using round() 2023-02-20 17:47:20 +09:00
AUTOMATIC
65995a2ea3 possible fix for #7804 2023-02-19 18:31:51 +03:00
Vladimir Mandic
83829471de
make ui as multiselect instead of string list 2023-02-19 09:21:44 -05:00
Vladimir Mandic
8affa42588
Merge branch 'AUTOMATIC1111:master' into hide_ui_tabs 2023-02-19 09:19:25 -05:00
AUTOMATIC1111
076d624a29
Merge pull request #7933 from w-e-w/fix-auto-sd-download
Fix issue with auto sd1.5 download
2023-02-19 15:04:03 +03:00
w-e-w
014e7323f6 when exists 2023-02-19 20:49:07 +09:00
w-e-w
c77f01ff31 fix auto sd download issue 2023-02-19 20:37:40 +09:00
AUTOMATIC1111
7202213358
Merge pull request #7571 from mezotaken/int_loop
Optionally append interrogated prompt in loopback script
2023-02-19 14:23:31 +03:00
AUTOMATIC
d84f3cf7a7 split #7300 into multiple lines 2023-02-19 13:11:48 +03:00
AUTOMATIC1111
c3d5a6ed37
Merge pull request #7300 from Ju1-js/master
Gradio Auth - Read from External File
2023-02-19 13:02:05 +03:00
AUTOMATIC
11183b4d90 fix for #6700 2023-02-19 12:44:56 +03:00