Commit Graph

462 Commits

Author SHA1 Message Date
Aedh Carrick
904efac6af re-arranged layout to more closely match mockup 2022-11-20 15:11:50 -06:00
aedh carrick
e9280c3f93 moved webui_flet.py and utils to 'scripts' where they belong 2022-11-19 19:00:58 -06:00
ZeroCool940711
ef4cf8bc98
Added global negative prompt on config file. 2022-11-17 10:11:42 -07:00
ZeroCool940711
52b8973ddd
Added extra utility scripts to convert ckpt to diffusers and to prune trained ckpt files. 2022-11-11 19:01:24 -08:00
ZeroCool940711
b983d7f8be
Fixed DeprecationWarning for images on the concepts library using deprecated function from PIL. 2022-11-10 08:20:54 -08:00
ZeroCool940711
bdbce6b049
patch: Added new field on the config file to separate the default model from the base mode used, this should fix the issue where when using the settings page to set a default model it was then not possible to run the default stable diffusion model. 2022-11-09 15:59:18 -08:00
ZeroCool940711
47616ab3a3 Improved the documentation site by adding extra information on several pages. 2022-11-07 20:27:41 -08:00
ZeroCool940711
064a74c05e Renamed Mask and Mask Inverted to Outpainting and Inpainting on the img2img tab to reflect better what they do. 2022-11-07 20:27:41 -08:00
ZeroCool940711
3736a35e26 Initial conversion of the sd_util.py file into a package with smaller modules in it. 2022-11-03 00:05:54 -07:00
ZeroCool940711
815cb49407 Cleaned up unnecessary imports and comments from the webui_streamlit.py script. 2022-11-02 23:58:35 -07:00
ZeroCool940711
b7c2ceb177 fix: Fixed GPU selection not being saved properly on the Settings page. 2022-11-02 15:51:37 -07:00
ZeroCool940711
66d0344cf5 Added barfi/baklavajs to the Tools menu and added a new post processing tab which is still a work in progress. 2022-11-01 10:29:44 -07:00
ZeroCool940711
ac2cefd5db Cleaned some commented code that is no longer needed. 2022-11-01 10:25:43 -07:00
ZeroCool940711
d653c77785 Added Barfi/Baklavajs basic integration for those that want to work implement a node based system for Stable Diffusion inside the UI. 2022-11-01 07:15:53 -07:00
fezeral
10b66cc2b9 Fixed errors when post-processing models aren't installed
Fixes #1522, #1604
2022-11-01 17:26:47 +10:30
ZeroCool940711
9a9c357922 Added support for webp images in the img2txt tab 2022-10-31 13:38:31 -07:00
ZeroCool940711
2ea2606e83 Reverted txt2vid to use the StableDiffusionPipeline instead of StableDiffusionWalkPipeline when loading the model. 2022-10-31 06:50:21 -07:00
ZeroCool940711
25acf77260 Added menu item for the Fine Tunning tab which will be implemented in the near future. 2022-10-31 05:37:41 -07:00
ZeroCool940711
e73e0c45b0 Removed unnecessary code from previous iteration of the gallery tab as its no longer needed. 2022-10-31 05:36:43 -07:00
ZeroCool940711
928ce11b51 Changed text on the txt2vid to point people to Settings page where they can add their huggingface token. 2022-10-31 02:31:00 -07:00
ZeroCool940711
83aa96e0d9 Changed txt2img to properly take the stable horde api from the settings page as it was not taking it from there but had a fixed value before. This means every time you had to manually add the api key, now you can just add it on the settings page once and it will be used from there. 2022-10-30 04:23:29 -07:00
ZeroCool940711
f23f5253ac Allow users to set their stable horde api key on the Settings page. 2022-10-30 03:36:30 -07:00
ZeroCool940711
d1d672fcfb Added default stable horde api for anonymous usage. 2022-10-30 03:35:52 -07:00
ZeroCool940711
8b638b338d Removed the gallery message as its not needed. 2022-10-29 23:45:27 -07:00
ZeroCool940711
3e1ef82378 Removed unnecessary log message which was causing confusing, this feature is something that works depending on the model loaded. 2022-10-29 22:24:36 -07:00
ZeroCool940711
658646eed2 Removed message shown on the gallery tab when empty which was still shown even when it was not empty. 2022-10-29 22:23:31 -07:00
Alejandro Gil
c5981694c3
Fixed the serverAddress default value stopping people from using the UI in services like runpod. (#1621) 2022-10-29 09:56:50 -07:00
ZeroCool940711
7007f2874c Added option for admins to hide the server and browser settings form the Settings page. 2022-10-28 23:48:45 -07:00
ZeroCool940711
05c838b594 Add settings on the settings page to customize most streamlit options including the server address, port and headless mode. 2022-10-28 23:20:21 -07:00
ZeroCool940711
645fd0f77d Added missing files from nataili. 2022-10-28 19:20:50 -07:00
ZeroCool940711
f52efdfcd6 Reduced the size of the first column on txt2img and txt2vid to have more available space. 2022-10-28 12:18:46 -07:00
ZeroCool940711
0a9517721d Added basic image editor for the img2img tab. 2022-10-28 12:17:20 -07:00
ZeroCool940711
9d3d65fb5b Moving text to video to the new stable diffusion videos pipeline. 2022-10-28 03:16:27 -07:00
ZeroCool940711
4327fb59ec Added Tools drop menu to organize there extra tools. 2022-10-26 23:48:48 -07:00
ZeroCool940711
d8b1e503fa Added option on the config file to select the default Noise Mode. 2022-10-26 23:47:59 -07:00
ZeroCool940711
0110973b68 Added nataili as part of the repo under the scripts folder. 2022-10-26 18:49:19 -07:00
ZeroCool940711
51a99aa08d Moved the generate button to the top of the page so it doesn't get pushed down and disappear when there are many images or the expanders are not collapsed. 2022-10-26 18:40:17 -07:00
ZeroCool940711
16661815fc Fixed log not in defaults. 2022-10-26 17:21:51 -07:00
ZeroCool940711
98c0073a4e Fixed blip model not downloading due to identification issue caused by passing the huggingface token on the url. 2022-10-26 17:21:21 -07:00
Lucas Czernohorsky
aa3f92b611 floating suggestions area, first context sensitive responses (type by and get artist list), automated recognition of words "of, at, with" to not add a ",".
complex pattern matching support, to remove double "," and double text generation in general.
improved key phrase list.
full artist thumbnails support.
2022-10-26 12:42:48 +02:00
ZeroCool940711
db3a3cbedf Added jfif image support on img2img 2022-10-25 04:56:43 -07:00
ZeroCool940711
edf998b378 Added small function to make grids layouts using streamlit. 2022-10-25 04:23:33 -07:00
ZeroCool940711
ad5597b968 Allow users to set the preview frequency to 0 in case they need to disable it. 2022-10-24 12:35:30 -07:00
ZeroCool940711
0d2a4e1694 Added logging back to the img2txt tab. 2022-10-24 04:45:09 -07:00
hlky
8dcd432674
Update img2txt.py 2022-10-24 11:48:45 +01:00
hlky
70ef109d17
Update img2txt.py 2022-10-24 11:15:22 +01:00
ZeroCool940711
9caef25390 Improved the img2txt tab by having more tags. 2022-10-24 00:22:36 -07:00
ZeroCool940711
0a3b6761e2 Added option to make the grid format the same as the individual image format.
There is a new option called grid quality now that allow you to specify on the settings page the quality for the grid image.
2022-10-24 00:21:54 -07:00
ZeroCool940711
cb501565c2 More renaming and changed to links related to the organization, docs and repo names. 2022-10-23 18:54:10 -07:00
ZeroCool940711
97eb1b169b More renaming and changes to links related to the organization, docs an repo names. 2022-10-23 17:17:50 -07:00
ZeroCool940711
73fadb231f Fixed links so they point to the new repo and organization names. 2022-10-23 16:22:40 -07:00
ZeroCool940711
b0c7bf0f2b Fixed redundant backslash. 2022-10-23 15:13:18 -07:00
ZeroCool940711
883fae1501 Improved progress bar info on txt2vid and made sure the update_preview_frenquency worked correctly. 2022-10-23 14:56:00 -07:00
ZeroCool940711
c57b084b4c Changed max frame to max duration in seconds for the stats on txt2vid 2022-10-23 11:35:54 -07:00
ZeroCool940711
ed0c5f5272 Added unique 16-17 character id to videos so they are not overridden when you create multiple videos with the same prompt and seed. 2022-10-23 03:12:14 -07:00
ZeroCool940711
a772b4c53d Moved txt2vid to use diffusers custom interpolate_stable_diffusion pipeline instead of StableDiffusionPipeline.
- Added safety checker which is disabled by default.
2022-10-23 03:12:14 -07:00
ZeroCool940711
3e4ea36bc8 Updated diffusers to 0.6.0.
- Renamed max_frames to max_duration_in_seconds in txt2vid to reflect better what the option is currently doing.
2022-10-23 03:12:14 -07:00
ZeroCool940711
c1ec3f370b Made sure the log variable is still around on the img2txt after its being cleared. 2022-10-22 13:30:12 -07:00
ZeroCool940711
4ab56e56d0 Added message to tell the user to accept the license on the huggingface site if they havent done so. 2022-10-22 10:57:22 -07:00
ZeroCool940711
60766d3150 Fixed stable horde not working properly. 2022-10-22 00:37:09 -07:00
ZeroCool940711
6b3f7c0599 Added missing ApiServer.py file. 2022-10-21 23:02:55 -07:00
ZeroCool940711
f85d465e9e Fixed fonts missing on some platforms. 2022-10-21 22:05:46 -07:00
ZeroCool940711
accc6f411e Changed the default Stable Diffusion model to runwayml/stable-diffusion-v1-5 2022-10-20 19:53:09 -07:00
ZeroCool940711
f925d33fe0 Fixed default model option not saving the proper value to the user config file. 2022-10-20 14:09:19 -07:00
ZeroCool940711
c93684ca01 Added default height value to the text are for the prompt on most tabs, this should help with it having the proper height, we still need to change min-height through CSS so it might still break sometimes. 2022-10-20 13:19:26 -07:00
ZeroCool940711
4ff1bfa691 Fixed keep_all_models_loaded missing key, this is not the proper way to do it but at least people wont have this issue for now. 2022-10-20 13:17:47 -07:00
ZeroCool940711
76efbd17f3 Added rerun option to the model manager so after models are downloaded the page refreshes which then should change the button status and replace it with he proper green check mark if its already downloaded or still show the download button if its not. 2022-10-20 13:17:06 -07:00
ZeroCool940711
6979584cc5 Fixed spacing issue with the full screen button for the result image on img2img when the space on the right was smaller than the button size. 2022-10-20 08:34:42 -07:00
Lucas Czernohorsky
9bd0b2f679 draggable number input fixed support for floating point values 2022-10-20 12:03:52 +02:00
Lucas Czernohorsky
7252b1dde2 key_phrase_suggestions added support for new data structure, with description, conditions, custom formats and image support.
added tooltip support. Added Artist image tooltips.
2022-10-20 11:53:50 +02:00
Lucas Czernohorsky
f630ee5c90 draggable number input component small fixes and visual improvements.
fixed drag being blocked by "press enter to apply" text.
2022-10-20 11:39:09 +02:00
ZeroCool940711
2fc7a8817f Added placeholder for the API Server. 2022-10-19 19:55:34 -07:00
ZeroCool940711
5a23cb2aae Few other fixes for missing imports. 2022-10-19 12:44:56 -07:00
ZeroCool940711
aa85b25f65 Added reraise and logger catch to the settings layout function. 2022-10-19 11:18:06 -07:00
ZeroCool940711
7a2376a590 Fixed a weird error with collections.abc not being found some times, this is most likely related to one of the libraries we use but to fix it temporarily we need to import it before anything else. 2022-10-19 11:17:20 -07:00
ZeroCool940711
345ea8623f Added implementation made by @NaMJaG for key phrase suggestions under the prompt. 2022-10-19 07:56:36 -07:00
hlky
5236d859e5
img2img cfg_scale value 2022-10-19 14:49:03 +01:00
ZeroCool940711
528d95085f Removed some backslashes to comply with codefactor as they are redundant. 2022-10-18 05:54:14 -07:00
ZeroCool940711
908aa0647c Added version control and management for the user and defaults config file. 2022-10-18 05:49:30 -07:00
ZeroCool940711
774073c8c3 Changed CFG scale to be a number_input instead of a slider. 2022-10-17 18:02:51 -07:00
ZeroCool940711
27c13fb625 Improved logging for img2txt. 2022-10-17 15:59:29 -07:00
ZeroCool940711
e524f690b9 Moved the logger.py file again to the scripts folder instead of bein on its own folder. 2022-10-17 15:59:15 -07:00
ZeroCool940711
f893e85b5c Added hydrus_api library which will be used to query hydrus for tags. 2022-10-17 05:11:01 -07:00
ZeroCool940711
68a8fc26d6 Added reraise option for loguru. 2022-10-17 05:10:06 -07:00
ZeroCool940711
ef0b5f4c3e Added reraise option for loguru. 2022-10-17 05:09:47 -07:00
Divided by Zer0
2ea0e6b7d8 logger improvements 2022-10-16 01:59:39 +02:00
Divided by Zer0
974743fbcc logger import 2022-10-16 01:38:36 +02:00
ZeroCool940711
b8d634455b Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	scripts/sd_utils.py
#	scripts/txt2img.py
2022-10-15 15:41:16 -07:00
ZeroCool940711
d3e22998af Added option to run the generation using Stable Horde instead of the local GPU. 2022-10-15 15:37:04 -07:00
ZeroCool940711
c509a961cb Removed decorest. 2022-10-15 09:32:15 -07:00
ZeroCool940711
2fcad23c77 Replaced most if not all print statements with loguru to make the console output easier to understand and just look better overall. 2022-10-15 09:32:15 -07:00
ZeroCool940711
03ab7c0716 Added threading support for the horde bridge. 2022-10-15 09:32:15 -07:00
ZeroCool940711
9901b15948 Added logger using loguru from the logger.py.
- From now on it will create a folder called "logs" with the current time on each launch and then save a log file with anything we want to log there including exceptions from streamlit.
2022-10-15 09:32:15 -07:00
ZeroCool940711
5b728ce803 Fixed logger.level() error when using the logger module with streamlit. It was getting loaded twice and so giving some errors because of this. 2022-10-15 09:32:15 -07:00
ZeroCool940711
1513632063 Forced page rerun when hitting the reset button on the Settings page. 2022-10-15 09:32:15 -07:00
ZeroCool940711
bd03ad4671 Added some defaults to txt2img when we execute it on run_bridge so it doenst save any image from the horde to our hard drive. 2022-10-15 09:32:15 -07:00
ZeroCool940711
94084b2104 Removed decorest. 2022-10-15 09:29:38 -07:00
ZeroCool940711
e7106a052d Replaced most if not all print statements with loguru to make the console output easier to understand and just look better overall. 2022-10-15 05:34:07 -07:00
ZeroCool940711
1e1bf226a4 Added threading support for the horde bridge. 2022-10-15 04:13:38 -07:00
ZeroCool940711
ed0d6b1968 Added logger using loguru from the logger.py.
- From now on it will create a folder called "logs" with the current time on each launch and then save a log file with anything we want to log there including exceptions from streamlit.
2022-10-15 04:12:55 -07:00