Commit Graph

2049 Commits

Author SHA1 Message Date
AUTOMATIC
3e15f8e0f5 update callbacks code for #3549 2022-10-25 12:16:25 +03:00
不会画画的中医不是好程序员
5bfa2b23ca
Merge branch 'AUTOMATIC1111:master' into Inspiron 2022-10-25 15:38:33 +08:00
yfszzx
ff305acd51 some rights for extensions 2022-10-25 15:33:43 +08:00
w-e-w
91c1e1e6a9 fix default filename pattern 2022-10-25 09:44:54 +03:00
brkirch
faed465a0b MPS Upscalers Fix
Get ESRGAN, SCUNet, and SwinIR working correctly on MPS by ensuring memory is contiguous for tensor views before sending to MPS device.
2022-10-25 09:42:53 +03:00
brkirch
4c24347e45 Remove BSRGAN from --use-cpu, add SwinIR 2022-10-25 09:42:53 +03:00
AUTOMATIC1111
f53ca51638
Merge pull request #3549 from tsngo/on-image-saved-callback
add callback after image is saved
2022-10-25 08:40:19 +03:00
AUTOMATIC1111
16416e42b5
Merge branch 'master' into on-image-saved-callback 2022-10-25 08:40:12 +03:00
AUTOMATIC
77a320f406 do not stop execution when script's callback misbehaves and report which script it was 2022-10-25 08:32:47 +03:00
ritosonn
b383702752 fix #3145 #3093 2022-10-25 08:32:33 +03:00
innovaciones
73c4a8138c Fixes 2022-10-25 08:17:41 +03:00
innovaciones
bdc4c203f2 Add Spanish localization 2022-10-25 08:17:41 +03: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
Dynamic
e595b41c9d
Update translations for renewed tooltip texts 2022-10-25 00:17:46 +09:00
Dynamic
0b990d1d34
Merge branch 'AUTOMATIC1111:master' into kr-localization 2022-10-25 00:16:26 +09:00
w-e-w
df0a1f8381 add hints, [datetime<Format><Time Zone>] 2022-10-24 16:01:48 +03:00
w-e-w
0c0028a9d3 UnknownTimeZoneError 2022-10-24 16:01:48 +03:00
yfszzx
cb9d2f8705 move to img component to public 2022-10-24 20:06:53 +08:00
Dynamic
8d8d4d8a1b
Update new strings in Settings tab 2022-10-24 20:55:21 +09:00
Dynamic
ab7af93e1e
Merge branch 'AUTOMATIC1111:master' into kr-localization 2022-10-24 20:53:51 +09:00
AUTOMATIC
9f79e59a95 added info about History/Image browser to readme 2022-10-24 14:42:36 +03:00
Bruno Seoane
2267498a8c Merge remote-tracking branch 'upstream/master' 2022-10-24 08:37:37 -03:00
Bruno Seoane
595dca85af Reverse run_extras change
Update serialization on the batch images endpoint
2022-10-24 08:32:18 -03:00
blackneoo
5587ab7ea8 Add Arabic localization
Arabic translation for the UI interface, however arabic language is a right to left language, so for proper display (especially when text contain both Arabic and English text) it is required to add dir="rtl" in the style, i suggest adding a checkbox in setting to trigger this for right to left languages
2022-10-24 14:16:32 +03:00
AUTOMATIC
2c05e06ea7 rename api/processing to api/models for #3511 2022-10-24 14:11:14 +03:00
AUTOMATIC
8da1bd48bf add an option to skip adding number to filenames when saving.
rework filename pattern function go through the pattern once and not calculate any of replacements until they are actually encountered in the pattern.
2022-10-24 14:03:58 +03:00
yfszzx
994aaadf08 a strange bug 2022-10-24 16:44:36 +08:00
w-e-w
eb007e5884 use the same datetime object for [date] and [datetime] 2022-10-24 10:28:42 +03:00
w-e-w
5a981310e6 replace_datetime() can now accept a datetime parameter 2022-10-24 10:28:42 +03:00
w-e-w
8f6af4ed65 remove lowercasing file_decoration as it is not needed anymore 2022-10-24 10:28:42 +03:00
w-e-w
00952fb4a8 add sanitize_filename() to datetime 2022-10-24 10:28:42 +03:00
w-e-w
480d8e7646 replace "srt.replace()" in apply_filename_pattern() with equivalent re.sub()
the file_decoration passed into apply_filename_pattern() is formatted to lowercase to increase compatibility
the use of case sensitive srt.replace()

but because the newly implemented "time format" is case sensitive
the lowercasing the file_decoration will cause time format to be broken

in order to resolve this issue
I decided to replace every srt.replace() and in if "str" in x to regular expression (case insensitive) equivalent
2022-10-24 10:28:42 +03:00
w-e-w
37dd6deafb filename pattern [datetime], extended customizable Format and Time Zone
format:
[datetime]
[datetime<Format>]
[datetime<Format><Time Zone>]
2022-10-24 10:28:42 +03:00
w-e-w
7d4a4db9ea modify unnecessary sting assignment as it's going to get overwritten 2022-10-24 10:28:42 +03:00
w-e-w
c5d90628a4 move "file_decoration" initialize section
into "if forced_filename is None:"
no need to initialize it if it's not going to be used
2022-10-24 10:28:42 +03:00
w-e-w
3be6b29d81 indent=4 config.json 2022-10-24 10:22:48 +03:00
AUTOMATIC
c623fa1f0b add extensions dir 2022-10-24 09:51:17 +03:00
AUTOMATIC
876a96f0f9 remove erroneous dir in the extension directory
remove loading .js files from scripts dir (they go into javascript)
load scripts after models, for scripts that depend on loaded models
2022-10-24 09:39:46 +03:00
AUTOMATIC1111
999929bea4
Merge pull request #3537 from yfszzx/Inspiron
Move out images browser from project
2022-10-24 09:28:37 +03:00
Trung Ngo
734986dde3 add callback after image is saved 2022-10-24 01:25:31 -05:00
Kris57
edc0c907fa fix ja translation 2022-10-24 09:20:05 +03:00
Kris57
71d14a4c40 cleanup ja translation 2022-10-24 09:20:05 +03:00
Kris57
e33a05f263 update ja translation 2022-10-24 09:20:05 +03:00
Kris57
a921badac3 update ja translation 2022-10-24 09:20:05 +03:00
Kris57
c6459986cb update ja translation 2022-10-24 09:20:05 +03:00
AUTOMATIC
6cbb04f7a5 fix #3517 breaking txt2img 2022-10-24 09:15:26 +03:00
不会画画的中医不是好程序员
68931242cf
Merge branch 'AUTOMATIC1111:master' into Inspiron 2022-10-24 14:09:27 +08:00
AngelBottomless
e9a410b535 check length for variance 2022-10-24 09:07:39 +03:00
AngelBottomless
0d2e1dac40 convert deque -> list
I don't feel this being efficient
2022-10-24 09:07:39 +03:00