Commit Graph

494 Commits

Author SHA1 Message Date
Thomas Mello
16d2941619
fix: filename format parameter (#923) 2022-09-09 22:11:57 +03:00
VulumeCode
1422b35ac6
Tiling parameter (#911)
* tiling

* default to False
2022-09-09 20:33:04 +03:00
Michoko
4d76d6742c
Add filename formatting argument (#908)
* Update webui.py

Filename formatting argument

* Update scripts/webui.py

Co-authored-by: Thomas Mello <work.mello@gmail.com>
2022-09-09 20:20:59 +03:00
cobryan05
9d95449624
Metadata cleanup - Maintain metadata within UI (#845)
* Metadata cleanup - Maintain metadata within UI

This commit, when combined with Gradio 3.2.1b1+, maintains image
metadata as an image is passed throughout the UI. For example,
if you generate an image, send it to Image Lab, upscale it, fix faces,
and then drag the resulting image back in to Image Lab, it will still
remember the image generation parameters.

When the image is saved, the metadata will be stripped from it if
save-metadata is not enabled. If the image is saved by *dragging*
out of the UI on to the filesystem it may maintain its metadata.

Note: I have ran into UI responsiveness issues with upgrading Gradio.
Seems there may be some Gradio queue management issues. *Without* the
gradio update this commit will maintain current functionality, but
will not keep meetadata when dragging an image between UI components.

* Move ImageMetadata into its own file

Cleans up webui, enables webui_streamlit et al to use it as well.

* Fix typo
2022-09-09 19:27:21 +03:00
James Pound
c37de9f04e
Fixed aspect ratio box not being updated on txt2img tab, for issue 219 from old repo (#812) 2022-09-09 17:58:59 +03:00
Thomas Mello
da9dab22a7
Merge pull request #872 from nagolinc/voroni-outcrop
Improve outpainting with Perlin noise
2022-09-09 17:39:12 +03:00
M
70db27fa6a
frontend: display current device info (#889)
Displays the current device info at the bottom of the page.

For users who run multiple instances of `sd-webui` on the same system (for multiple GPUs), it helps to know which of the active `CUDA_VISIBLE_DEVICES` is being used.
2022-09-09 17:16:39 +03:00
Logan zoellner
754e530d70 when in outcrop mode, mask added regions and fill in with voroni noise for better outpainting 2022-09-09 10:13:38 -04:00
hlky
8d5977e15b Update FUNDING.yml 2022-09-09 10:13:38 -04:00
TingTingin
c459bfaacc Update attention.py 2022-09-09 14:21:53 +01:00
ZeroCool
90a922c320
Merge pull request #895 from Hafiidz/dev
Urgent Fix to PR:860
2022-09-09 04:29:44 -07:00
Hafiidz
11af1d9338 Urgent Fix to PR:860 2022-09-09 19:07:35 +08:00
ZeroCool
bd0e3655c1
Merge pull request #893 from ZeroCool940711/dev
Improvements to the txt2vid tab.
2022-09-09 03:45:22 -07:00
ZeroCool940711
61b3ca7014 Merge remote-tracking branch 'origin/dev' into dev 2022-09-09 03:44:25 -07:00
ZeroCool940711
22b84afc87 Improvements to the txt2vid tab. 2022-09-09 03:30:43 -07:00
Thomas Mello
606aea2866
chore: update maintenance scripts and docs (#891)
* automate conda_env_name as per name in yaml

* Embed installation links directly in README.md

Include links to Windows, Linux, and Google Colab installations.

* Fix conda update in webui.sh for pip bug

* Add info about new PRs

Co-authored-by: Hafiidz <3688500+Hafiidz@users.noreply.github.com>
Co-authored-by: Tom Pham <54967380+TomPham97@users.noreply.github.com>
Co-authored-by: GRMrGecko <grmrgecko@gmail.com>
2022-09-09 13:09:13 +03:00
ZeroCool
3781f97b0f
Merge pull request #885 from TinyBeeman/outputStats
Output stats
2022-09-09 01:51:51 -07:00
Tony Beeman
7d987cc922 Add info and stats to img2img 2022-09-09 01:33:28 -07:00
Tony Beeman
28d8827331 Display Info and Stats when render is complete, similar to what Gradio shows. 2022-09-09 01:33:28 -07:00
ZeroCool
2be3c2ad37
Merge pull request #881 from TinyBeeman/streamdev
Fixed the user config path in webui_streamlit.py
2022-09-09 01:08:20 -07:00
Tony Beeman
771a68e3e5 Fixed the path in webui_streamlit.py 2022-09-09 01:03:34 -07:00
ZeroCool
775942b5c6
Merge pull request #876 from TinyBeeman/streamdev
Streamlit: Fix loading of YAML defaults and allow user defaults to be specified in a userconfig_stream…
2022-09-09 01:02:50 -07:00
Tony Beeman
4171882007 Move location of user file to configs/webui folder 2022-09-09 00:44:35 -07:00
Tony Beeman
ca8ee265cd Made sure img2txt and img2img checkboxes respect YAML defaults 2022-09-08 23:50:33 -07:00
Tony Beeman
5ea27f3d0c Streamlit: Allow user defaults to be specified in a userconfig_streamlit.yaml file. 2022-09-08 22:58:25 -07:00
Joshua Kimsey
3d953ad156 Fixed missing diffusers dependency for Streamlit 2022-09-08 23:01:30 +01:00
hlky
5a10bdbd47
proposed streamlit code organization changes
I want people of all skill levels to be able to contribute
This is one way the code could be split up with the aim of making it easy to understand and contribute especially for people on the lower end of the skill spectrum
All i've done is split things, I think renaming and reorganising is still needed
2022-09-08 17:57:38 +01:00
Hafiidz
d957d6ca1d update readme as per installation step & format 2022-09-08 18:32:35 +03:00
ZeroCool
c668ef930b
Merge pull request #828 from ZeroCool940711/dev
Added "num_inference_steps" to config file and fixed some small bugs.
2022-09-08 05:52:38 -07:00
ZeroCool
3336bfce20
Merge branch 'sd-webui:dev' into dev 2022-09-08 05:51:41 -07:00
ZeroCool940711
e6027fe306 Added num_inference_steps to config file and fixed incorrectly calls to the config file from the txt2vid tab calling txt2img instead. 2022-09-08 05:51:22 -07:00
Thomas Mello
ffb2d7ae9c
fix: advanced editor (#827), close #811
refactor js_Call hook to take all gradio arguments
2022-09-08 15:43:08 +03:00
ZeroCool
648dc020a8
Merge pull request #826 from ZeroCool940711/dev
Added option to support custom models and implemented basic Text To Video tab.
2022-09-08 05:38:33 -07:00
ZeroCool940711
afaff01253 Merge remote-tracking branch 'origin/dev' into dev 2022-09-08 05:34:20 -07:00
ZeroCool940711
ed84e1f1d8 - Added option to select custom models instead of just using the default one, if you want to use a custom model just place your .ckpt file in "models/custom" and the UI will detect it and let you switch between stable diffusion and your custom model, make sure to give the filename a proper name that is easy to distinguish from other models because that name will be used on the UI.
- Implemented basic Text To Video tab, will continue to improve it as it is really basic right now.
- Improved the model loading, you now should see less frequently errors about it not been loaded correctly.
2022-09-08 05:33:45 -07:00
Thomas Mello
67b6196b1e
Merge branch 'master' into dev 2022-09-08 13:28:50 +03:00
Thomas Mello
a8e15c85f3 resolve conflict with master 2022-09-08 13:27:21 +03:00
ZeroCool
a796db7748
Merge pull request #813 from Hafiidz/css
(Streamlit) Feature: separate css to external file
2022-09-07 19:27:55 -07:00
ZeroCool
32a9999441
Merge pull request #814 from ZeroCool940711/dev
Added "git pull" and "git stash" to the cmd scripts so the repo is checked on each launch for updates.
2022-09-07 19:25:15 -07:00
ZeroCool940711
70e4fa1c47 Added "git pull" and "git stash" to the commands run by the cmd scripts when launching the UI, this should make it so people who use it can automatically update the code from the repo and be up to date without manually using those commands everytime. 2022-09-07 19:21:34 -07:00
Hafiidz
0e30d4fdd9 separate css to external file 2022-09-08 10:10:03 +08:00
ZeroCool
53f4fa96af
Merge pull request #804 from ZeroCool940711/dev
Added try and except block for basic error handling.
2022-09-07 18:06:30 -07:00
ZeroCool940711
f39a6b726b Merge remote-tracking branch 'origin/dev' into dev 2022-09-07 18:03:52 -07:00
ZeroCool940711
c0e02742e3 Added try and except block to handle basic errors like StopException which is raised by streamlit when you hit the stop button and KeyError which happens also when stopping the generation because it tries to check the model at the end which is not loaded at that time, this can be ignored and so thats the reason for the exception. 2022-09-07 18:03:39 -07:00
ZeroCool
f8f31df899
Merge pull request #799 from ZeroCool940711/dev
Added option to set default sampler name from config file.
2022-09-07 16:59:28 -07:00
ZeroCool940711
1d4351ce91 Added option to set default sampler name from config file, will be useful for those wanting to change the default sampler and have it persist even when closing the UI and opening it again. 2022-09-07 16:58:19 -07:00
Thomas Mello
688cb0d038
update README with correct URLs (#786)
Co-Authored-By: Hafiidz <3688500+Hafiidz@users.noreply.github.com>
2022-09-07 23:28:17 +03:00
hlky
490bbbc103
Img2img dev (#736)
* #715 #699 #698 #663 #625 #617 #611 #604 (#716)

* Update README.md

* Add sampler name to metadata (#695)

Co-authored-by: EliEron <example@example.com>

* old-dev-merge

Co-authored-by: EliEron <subanimehd@gmail.com>
Co-authored-by: EliEron <example@example.com>

* img2img-fix (#717)

* Revert "img2img-fix (#717)"

This reverts commit 70d4b1ca2a.

* img2img fixes

* Revert "img2img fixes"

This reverts commit e66eddc621.

* Revert "Revert "img2img-fix (#717)""

This reverts commit bf08b617d4.

* img2img fixed

* feat: bring back Crop mode, formatting

Co-authored-by: EliEron <subanimehd@gmail.com>
Co-authored-by: EliEron <example@example.com>
Co-authored-by: Thomas Mello <work.mello@gmail.com>
2022-09-07 20:19:00 +01:00
Thomas Mello
a81671d673
fix: stack overflow during recursion call (#784) 2022-09-07 22:14:46 +03:00
Hafiidz
9853da3682
Update Readme links to sd-webui when appropriate (#781)
* Update link to sd-webui when appropriate

* added LDSR instruction per devilismyfriend guide
2022-09-07 21:33:07 +03:00