Commit Graph

1600 Commits

Author SHA1 Message Date
AUTOMATIC 6f7b7a3dcd only read files with .py extension from the scripts dir 2022-10-17 07:56:23 +03:00
MrCheeze 0fd1307671 improve performance of 3-way merge on machines with not enough ram, by only accessing two of the models at a time 2022-10-17 07:54:36 +03: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
SGKoishi c8045c5ad4 The hide_ui_dir_config flag also restrict write attempt to path settings 2022-10-16 20:59:06 +03:00
dvsilch 26a11776e4 fix: add null check when start running project the currentButton is null 2022-10-16 20:58:36 +03:00
AUTOMATIC c57919ea2a keep focus on current element when updating gallery 2022-10-16 17:22:56 +03:00
DancingSnow fc220a51cf fix dir_path in some path like `D:/Pic/outputs` 2022-10-16 16:40:04 +03:00
CookieHCl adc0ea74e1 Better readablity of logs 2022-10-16 16:36:06 +03:00
CookieHCl c9836279f5 Only make output dir when creating output 2022-10-16 16:36:06 +03:00
CookieHCl 91235d8008 Fix FileNotFoundError in history tab
Now only traverse images when directory exists
2022-10-16 16:36:06 +03:00
Junpeng Qiu 36a0ba357a Added Refresh Button to embedding and hypernetwork names in Train Tab
Problem
everytime I modified pt files in embedding_dir or hypernetwork_dir, I
need to restart webui to have the new files shown in the dropdown of
Train Tab

Solution
refactored create_refresh_button out of create_setting_component so we
can use this method to create button next to gr.Dropdowns of embedding
name and hypernetworks

Extra Modification
hypernetwork pt are now sorted in alphabetic order
2022-10-16 10:51:06 +03:00
AUTOMATIC bd4f0fb9d9 revert changes to two bat files I asked to revert but the author couldn't in 863e9efc19. 2022-10-16 10:14:27 +03:00
Zeithrold 863e9efc19
Pull out some of URL to Env Variable (#2578)
* moved repository url to changeable environment variable

* move stable diffusion repo itself to env

* added missing env

* Remove default URL

Co-authored-by: AUTOMATIC1111 <16777216c@gmail.com>
2022-10-16 10:13:18 +03:00
CookieHCl 9258a33e37 Warn when user uses bad ui setting 2022-10-16 10:04:14 +03:00
CookieHCl b65a3101ce Use default value when dropdown ui setting is bad
Default value is the first value of selectables.
Particually, None in styles.
2022-10-16 10:04:14 +03:00
CookieHCl 20bf99052a Make style configurable in ui-config.json 2022-10-16 10:04:14 +03:00
ddPn08 3395ba493f Allow specifying the region of ngrok. 2022-10-16 09:56:33 +03:00
AUTOMATIC 179e3ca752 honor --hide-ui-dir-config option for #2807 2022-10-16 09:51:01 +03:00
winterspringsummer 2ce27728f6 added extras batch work from directory 2022-10-16 09:47:31 +03:00
AUTOMATIC 0c5fa9a681 do not reload embeddings from disk when doing textual inversion 2022-10-16 09:09:04 +03:00
zhengxiaoyao0716 9a33292ce4 reload javascript files when custom script bodies 2022-10-16 01:41:37 +08:00
C43H66N12O12S2 be1596ce30 fix typo 2022-10-15 20:25:27 +03:00
C43H66N12O12S2 8fb0b99152 Update launch.py 2022-10-15 20:25:27 +03:00
C43H66N12O12S2 529afbf4d7 Update sd_hijack.py 2022-10-15 20:25:27 +03:00
C43H66N12O12S2 09814e3cf3 Update launch.py 2022-10-15 20:25:27 +03:00
AUTOMATIC 74a9ee7002 fix saving images compatibility with gradio update 2022-10-15 20:09:45 +03:00
guaneec 606519813d Prevent modal content from being selected 2022-10-15 17:24:02 +03:00
DepFA b6e3b96dab Change vector size footer label 2022-10-15 17:23:39 +03:00
DepFA ddf6899df0 generalise to popular lossless formats 2022-10-15 17:23:39 +03:00
DepFA 9a1dcd78ed add webp for embed load 2022-10-15 17:23:39 +03:00
DepFA 939f16529a only save 1 image per embedding 2022-10-15 17:23:39 +03:00
DepFA 9e846083b7 add vector size to embed text 2022-10-15 17:23:39 +03:00
AngelBottomless 703e6d9e4e check NaN for hypernetwork tuning 2022-10-15 17:15:26 +03:00
ruocaled 5fd638f14d fix download section layout 2022-10-15 17:14:58 +03:00
Robert Smieja d3ffc962dd Add basic Pylint to catch syntax errors on PRs 2022-10-15 16:26:07 +03:00
NO_ob eef3bc6490 typo 2022-10-15 16:13:13 +03:00
AUTOMATIC 73901c3f01 make attention edit only work with ctrl as was initially intended 2022-10-15 15:51:57 +03:00
AUTOMATIC 97f0727489 add First pass size always regardless of whether it was auto chosen or specified 2022-10-15 15:47:02 +03:00
AUTOMATIC 20a1f68c75 fix gadio issue with sending files between tabs 2022-10-15 15:44:46 +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 f7ca63937a bring back scale latent option in settings 2022-10-15 13:23:12 +03:00
AUTOMATIC 5967d07d1a fix new gradio failing to preserve image params 2022-10-15 13:11:28 +03:00
AUTOMATIC 3631adfe96 make dragging to prompt work again 2022-10-15 12:58:53 +03:00
AUTOMATIC e8729dd051 re-apply height hacks to work with new gradio 2022-10-15 12:54:23 +03:00
AUTOMATIC 4ed99d5996 bump gradio to 3.5 2022-10-15 12:10:52 +03:00
AUTOMATIC 7d6042b908 update for commandline args for btch prompts to parse string properly 2022-10-15 12:00:31 +03:00
AUTOMATIC1111 58e62312c3
Merge pull request #1446 from shirase-0/master
Tag/Option Parsing in Prompts From File
2022-10-15 10:47:50 +03:00
AUTOMATIC1111 f42e0aae6d
Merge branch 'master' into master 2022-10-15 10:47:26 +03:00
AUTOMATIC1111 d13ce89e20
Merge pull request #2573 from raefu/ckpt-cache
add --ckpt-cache option for faster model switching
2022-10-15 10:35:26 +03:00
AUTOMATIC1111 af144ebdc7
Merge branch 'master' into ckpt-cache 2022-10-15 10:35:18 +03:00