Commit Graph

571 Commits

Author SHA1 Message Date
endomorphosis
372ac31c20
add Gradio API endpoint settings (#1055)
* add Gradio API endpoint settings
2022-09-12 14:27:24 +03:00
Matt Soucy
4f7ea60a2e
Use the webui script directories as PWD (#946) 2022-09-12 11:41:47 +03:00
ZeroCool
ba63fd7004
Merge pull request #1040 from briansemrau/feature/st-img2img-masking
Add masking to streamlit img2img
2022-09-12 00:24:59 -07:00
Brian Semrau
1089ec1162 add masking to streamlit img2img, find_noise_for_image, matched_noise 2022-09-12 03:02:43 -04:00
ZeroCool
a75ce47c3c
Merge pull request #1045 from ZeroCool940711/dev
Fixed an error with the metadata not able to be saved because of the …
2022-09-12 00:00:18 -07:00
ZeroCool940711
9c8ac62b3d Fixed an error with the metadata not able to be saved because of the seed was not converted to a string before so it had no attribute encode on it. 2022-09-11 23:57:29 -07:00
ZeroCool
ec1f2b7e7d
Merge pull request #1043 from ZeroCool940711/dev
Changes made by @Hafiidz to improve the appearance of the sidebar.
2022-09-11 23:21:29 -07:00
ZeroCool940711
36a1551465 - Added code for @Hafiidz's changes made on the css. 2022-09-11 23:11:42 -07:00
ZeroCool940711
117046ccdc Removed the padding at the top of the sidebar so we can have more free space. 2022-09-11 22:50:43 -07:00
ZeroCool940711
a3ae2d4a94 Changed the cmd script to use the dark theme by default when launching the streamlit UI. 2022-09-11 22:49:39 -07:00
ZeroCool940711
dee13a11c6 Changed some values to be dynamic instead of a fixed value so they are more responsive. 2022-09-11 22:23:59 -07:00
ZeroCool940711
cbc2a57bc1 Added streamlit-on-Hover-tabs and streamlit-option-menu dependencies to the environment.yaml file. 2022-09-11 20:15:07 -07:00
ZeroCool940711
6e012fcc19 - Added changes made by @Hafiidz on the ui-improvements branch to the css for the streamli-on-hover-tabs component. 2022-09-11 20:11:35 -07:00
oc013
fa6ccf230c
Docker validate model files if not a symlink in case user has VALIDATE_MODELS=false set (#1038) 2022-09-12 01:30:50 +03:00
M
9f8a7a61ad
webui: add prompt output to console (#1031)
* webui: add prompt output to console

show the user what prompt is currently being rendered

* fix prompt print location
2022-09-11 22:21:38 +03:00
ZeroCool
c3d12d9b14
Merge pull request #1029 from ZeroCool940711/dev
Multiple improvements to the txt2vid tab
2022-09-11 10:43:56 -07:00
ZeroCool
cf924ca11f
Merge branch 'sd-webui:dev' into dev 2022-09-11 10:43:01 -07:00
ZeroCool940711
20172d381e Multiple improvements to the txt2vid tab.
- Improved txt2vid speed by 2 times.
- Added DDIM scheduler.
- Added sliders for beta_start and beta_end to have more control over these parameters on the scheduler.
- Added option to select the scheduler type from scaled_linear or linear.
- Added option to save info files for the txt2vid tab and improved the information saved to include most of the parameters used to run the generation.
- You can now download any model from the huggingface website to use on the txt2vid tab, just add the name to the custom_models_list on the config file.
2022-09-11 10:42:17 -07:00
oc013
8a8b993fd5
Add missing comma for nsfw toggle in img2img (#1028) 2022-09-11 20:18:17 +03:00
Thomas Mello
9cdaee0cc9
Merge pull request #1027 from oc013/dev
Docker - Set PYTHONPATH to parent directory to avoid `No module named frontend` error
2022-09-11 20:16:11 +03:00
oc013
671b56f62f
Docker - Set PYTHONPATH to parent directory to avoid No module named frontend error 2022-09-11 12:36:28 -04:00
osi1880vr
6525cd248c Update util.py 2022-09-11 15:10:06 +01:00
Thomas Mello
97ff36ffda
Merge pull request #1015 from oc013/dev
Docker updates - Add LDSR, streamlit, other updates for new repository
2022-09-11 17:09:36 +03:00
oc013
ed52d05c48
Docker updates - Add LDSR, streamlit, other updates for new repository 2022-09-11 09:58:33 -04:00
M
a98753cf10
webui: display the GPU in use during startup (#994)
* webui: display the GPU in use during startup

tell the user which GPU the code is actually going to use before spending lots of time loading everything onto the GPU

* typo

* add some info messages

* evaluate current GPU properly

* add debug flag gating

not everyone wants or needs to see debug messages :)

* add in stray debug msg
2022-09-11 14:47:34 +03:00
ZeroCool
b66056842a
Merge pull request #1010 from ZeroCool940711/dev
Added some basic layout for the Model Manager tab.
2022-09-11 03:36:36 -07:00
ZeroCool940711
e6463e3249 Added some basic layout for the Model Manager tab and added there the models that most people use to make it easy to download instead of having to go do the wiki or searching through discord for links, it also shows the path where you are supposed to put those models for them to work. 2022-09-11 03:35:14 -07:00
ZeroCool
d04269a09e
Merge pull request #996 from codedealer/dev
refactor: sort out dependencies
2022-09-11 02:56:44 -07:00
Mr. Gecko
69d6e53474
Add NSFW filter to avoid unexpected (#955)
* Add NSFW filter to avoid unexpected

* Fix img2img configuration numbering
2022-09-11 12:32:36 +03:00
ZeroCool
d5a64e0ed4
Merge pull request #992 from jjisnow/yaml_metadata_match
write same metadata to file and yaml
2022-09-11 01:40:28 -07:00
JJ
42cc7ea8dc fix individual image file format saves
* introduces a general config setting save_format similar to grid_format for individual file saves
2022-09-11 17:40:28 +10:00
JJ
2672743f67 write same metadata to file and yaml
* include piexif in environment needed for exif labelling of non-png files
2022-09-11 17:27:52 +10:00
hlky
c5b2e1eba8
Merge branch 'dev' into dev 2022-09-11 07:32:11 +01:00
ZeroCool
784d155ed8
Merge pull request #1001 from ZeroCool940711/dev
Changed the minimum value on the text2vid tab for the Sampling Steps and Inference Steps to 10 and added a step with a value of 10 to make it easier to move the slider as it will require a higher maximum value than in other tabs for good results.
2022-09-10 21:32:20 -07:00
ZeroCool
a760e036d9
Commented an import that is not used for now but will be used soon. 2022-09-10 21:31:42 -07:00
ZeroCool940711
1d7a84f89f Merge remote-tracking branch 'origin/dev' into dev 2022-09-10 21:24:43 -07:00
ZeroCool940711
fa08f00ae6 Changed the minimum value for the Sampling Steps and Inference Steps to 10 and added step with a value of 10 to make it easier to move the slider as it will require a higher maximum value than in other tabs for good results on the text2vid tab. 2022-09-10 21:24:22 -07:00
ZeroCool
0fe5783222
Merge pull request #998 from ZeroCool940711/dev
Added piexif dependency.
2022-09-10 20:36:50 -07:00
ZeroCool940711
d262f6f97a Added piexif dependency. 2022-09-10 20:36:05 -07:00
ZeroCool
be2ece0683
Merge pull request #959 from jjisnow/new_metadata
New metadata for other image types
2022-09-10 19:11:32 -07:00
ZeroCool
c3cde0b661
Merge pull request #990 from jjisnow/img2img-defaults
add sampler_name defaults to img2img
2022-09-10 19:10:10 -07:00
Thomas Mello
8191be5e0d
Merge pull request #995 from Hafiidz/dev-source-warning
remove deprecated kwargs/parameter
2022-09-11 04:42:51 +03:00
M
20adc46b75
webui: detect scoped-down GPU environment (#993)
* webui: detect scoped-down GPU environment

check if we're using a scoped-down GPU environment (pynvml does not listen to CUDA_VISIBLE_DEVICES) so that we can measure memory on the correct GPU

* remove unnecessary import
2022-09-11 04:41:29 +03:00
Thomas Mello
8039021b53 refactor: sort out dependencies
Co-Authored-By: oc013 <101832295+oc013@users.noreply.github.com>
Co-Authored-By: Aarni Koskela <akx@iki.fi>
Co-Authored-By: oc013 <101832295+oc013@users.noreply.github.com>
Co-Authored-By: Aarni Koskela <akx@iki.fi>
2022-09-11 04:33:43 +03:00
Hafiidz
0a3d4eea58 remove deprecated kwargs/parameter 2022-09-11 09:21:32 +08:00
JJ
8e7959ca2b add metadata to other file output file types 2022-09-11 09:49:14 +10:00
JJ
b4db9733d0 add sampler_name defaults to img2img 2022-09-11 09:37:14 +10:00
Thomas Mello
d6f4796c35
fix: sampler name in GoBig #988 2022-09-11 01:52:51 +03:00
xaedes
008af2d8ff
Perform masked image restoration for GFPGAN, RealESRGAN, fixing #947
* Perform masked image restoration when using GFPGAN or RealESRGAN, fixing #947.
Also fixes bug in image display when using masked image restoration with RealESRGAN.

When the image is upscaled using RealESRGAN the image restoration can not use the
original image because it has wrong resolution. In this case the image restoration
will restore the non-regenerated parts of the image with an RealESRGAN upscaled
version of the original input image.

Modifications from GFPGAN or color correction in (un)masked parts are also restored
to the original image by mask blending.

* Update scripts/webui.py

Co-authored-by: Thomas Mello <work.mello@gmail.com>
2022-09-10 18:37:42 +03:00
ZeroCool
f39b71a107
Merge pull request #968 from ZeroCool940711/dev
Improved the progress bar for the txt2vid tab and other fixes.
2022-09-10 07:43:56 -07:00