Commit Graph

906 Commits

Author SHA1 Message Date
ZeroCool
f4c8b9500f
Moved the models to use the server_state component instead of session_state so it can be shared between multiple sessions, tabs and users as long as the streamlit server is running.
Moved the models to use the server_state component instead of session_state so it can be shared between multiple sessions, tabs and users as long as the streamlit server is running.
2022-09-25 04:03:48 -07:00
ZeroCool940711
a1fff59a73 Fixed "device" not being on server_state. 2022-09-25 03:55:16 -07:00
ZeroCool940711
47df4681ee Reduced the folder name a bit more to help with long paths on windows. 2022-09-25 01:44:34 -07:00
ZeroCool940711
4e34a987e1 Added customizable value for the concepts per page option on the concepts library tab. 2022-09-25 01:17:14 -07:00
ZeroCool940711
7084e94bdf Moved the model to server_state instead of session_state so it can be shared between multiple sessions, tabs and users as long as the streamlit server is running. 2022-09-25 00:03:05 -07:00
ZeroCool940711
86505f16ed Moved the pipe model to server_state instead of session_state so it can be shared between multiple sessions, tabs and users as long as the streamlit server is running. 2022-09-24 23:28:02 -07:00
ZeroCool940711
7c24e6f620 Moved the models as well as other static parameters to the server_state instead of session_state. 2022-09-24 23:23:55 -07:00
ZeroCool940711
87125a78f9 Added streamlit-server-state dependency. 2022-09-24 23:23:02 -07:00
ZeroCool
36d2498791
Merge pull request #1309 from Seacant/img2img-esrgan-fix
Fixed Streamlit bug where RealESRGAN seemed broke
2022-09-24 18:27:36 -07:00
ZeroCool
a64f9a22b0
Merge branch 'dev' into img2img-esrgan-fix 2022-09-24 18:26:54 -07:00
ZeroCool
011e295a9d
Merge pull request #1310 from ZeroCool940711/dev
Upgraded the streamlit dependency to version 1.13.0
2022-09-24 18:13:01 -07:00
ZeroCool940711
4f0ae7a746 Upgraded the streamlit dependency to version 1.13.0 2022-09-24 18:09:28 -07:00
ZeroCool940711
d7d0ad97c3 Changed some PIL stuff to use resampling to avoid some warnings on the console 2022-09-24 18:06:24 -07:00
ZeroCool940711
9c12a6a322 Changed the search bar text_input widget to have a label as its not allowed to be empty on streamlit 1.13.0 and will give a warning and possible an error later. 2022-09-24 18:05:08 -07:00
ZeroCool940711
b8b9df717a Removed some unused functions and code so we can upgrade streamlit to version 1.13.0. 2022-09-24 18:04:21 -07:00
Seacant
bb029225d6 Fixed Streamlit bug where RealESRGAN seemed broke
There was a safety check where RealESRGAN and loopback
were not allowed to be on at the same time to prevent
rapidly growing images (I think, at least) which was
causing confusion in the UI since there was no indication
this wasn't allowed. Using ESRGAN just on the final iteration
should be safe, so this commit enables that.
2022-09-25 01:01:25 +00:00
ZeroCool
10475e26a7
Merge pull request #1308 from ZeroCool940711/dev
Added info text to let the user now that the other setting pages are still under construction.
2022-09-24 17:19:12 -07:00
ZeroCool
0ff09b9169
Merge branch 'sd-webui:dev' into dev 2022-09-24 17:18:43 -07:00
ZeroCool940711
23070de38d Added info text to let the user now that the other setting pages are still under construction. 2022-09-24 17:18:29 -07:00
ZeroCool
cb4e9102d0
Merge pull request #1306 from ZeroCool940711/dev
Fixed error with CustomModel_available not being in session_state after the Settings page change.
2022-09-24 15:28:27 -07:00
ZeroCool940711
3816b28d2c Fixed error with CustomModel_available not being in session_state after the Settings page change. 2022-09-24 15:27:09 -07:00
Thomas Mello
fa4e63a549
Fix css (#1303)
* fix css for highlight output info elements

* clean up css_and_js.py

* remove unused js imports
2022-09-24 22:58:50 +03:00
Thomas Mello
f8b8a1357e
fix: copy of output parameters (#1301)
refactor js invocation on txt2img and img2img pages
2022-09-24 20:57:12 +03:00
ZeroCool
b928e72bfd
Merge pull request #1297 from ZeroCool940711/dev
First implementation of the Settings page and some extra fixes.
2022-09-24 05:32:43 -07:00
ZeroCool940711
0f9f7c382b First implementation of the Settings page. 2022-09-24 05:30:16 -07:00
ZeroCool940711
37b2090844 Added message to tell user that the textual inversion page is under construction instead of having it empty. 2022-09-24 05:28:54 -07:00
ZeroCool940711
b319bf8ec7 Merge remote-tracking branch 'origin/dev' into dev 2022-09-24 05:20:43 -07:00
ZeroCool
30cd0e8524
Merge pull request #1296 from ZeroCool940711/dev
Added missing options on the config file.
2022-09-24 05:20:27 -07:00
ZeroCool940711
d584fa28eb Added condition to make sure the userconfig_streamlit.yaml file is created if it doesnt exist. 2022-09-24 05:19:13 -07:00
ZeroCool940711
6a7de2066f Removed script from before the code split that is no longer needed. 2022-09-24 05:15:18 -07:00
ZeroCool940711
af37b96507 Added missing options on the config file. 2022-09-24 05:14:36 -07:00
ZeroCool940711
9b73f463cf - Added function to convert bytes to a human readable string.
- Added basic implementation of "enable_minimal_memory_usage".
2022-09-24 05:11:33 -07:00
ZeroCool
f585ab1923
Merge pull request #1293 from ZeroCool940711/dev
Added individual titles on the browser tab for each page.
2022-09-23 22:08:40 -07:00
ZeroCool940711
1c459bce53 - Added individual titles on the browser tab for each page.
- Added basic url for each page to the address bar for browser history.
2022-09-23 22:07:50 -07:00
ZeroCool
5f136eb17c
Merge pull request #1292 from ZeroCool940711/dev
Added simple function to allows us to change the title of the app dynamically.
2022-09-23 21:20:59 -07:00
ZeroCool940711
8cf8d3f03a Added simple function to allows to change the title of the app dynamically instead of only doing it once per app, this could be useful for setting the title on specific pages and making it appear on the browser history. 2022-09-23 21:19:50 -07:00
xaedes
70acb61c21
remove wrong arguments from save_sample call (#1290)
fixes #1258
2022-09-24 01:29:12 +01:00
xaedes
acb051e9f5
fix broken output info in img2img to highlight parameters like in txt2img (#1289)
- change gr.Textbox to gr.Highlightedtext like in txt2img
2022-09-24 03:21:33 +03:00
Qualzz
6ae84c6c3a
better library browser (#1281)
* better library browser

* removed debug prints
2022-09-24 00:20:51 +01:00
hlky
f6215a5bb1
remove unused scripts 2022-09-23 15:31:07 +01:00
hlky
8b4464a706
Add periodic checkpointing
Update diffusers_textual_inversion_2.py
2022-09-23 15:29:08 +01:00
Colton
f0be43d7df
Send the image grid to the front end if generated for a prompt matrix (#1200) 2022-09-23 14:32:36 +03:00
Victor Möller
23d825221f
Fixed webui.cmd crash when having () in path. #1276 (#1279)
Co-authored-by: Dice <What is Email?>
2022-09-23 10:14:20 +01:00
ZeroCool
2a911049aa
Merge pull request #1282 from JoshuaKimsey/Fix-env-yaml
Fixed Streamlit >1.12.2 error
2022-09-22 19:57:23 -07:00
Joshua Kimsey
a8f1e23346 Fixed Streamlit >1.12.2 error 2022-09-22 22:04:31 -04:00
Thomas Mello
5ac878c85f
Merge pull request #1271 from codedealer/remove-old-docs
remove old doc files
2022-09-23 00:36:48 +03:00
Thomas Mello
ed3d9176e7 remove old doc files
move docker guide inside docs/
2022-09-23 00:35:35 +03:00
hlky
4b5d48b499
Merge branch 'master' into dev 2022-09-22 22:01:40 +01:00
Joshua Kimsey
1a5c8d91f2
Improved Linux Docs (#1269) 2022-09-22 21:41:32 +01:00
Qualzz
75eac9c5c0
moved pagination logic before the rendering of the component (#1268) 2022-09-22 23:09:42 +03:00