Commit Graph

50 Commits

Author SHA1 Message Date
ZeroCool940711
84479d88b8 Changed the prompt text_input for a text_area and made it similar in size to the text input. 2022-10-09 03:21:06 -07:00
ZeroCool940711
63b2ff22c6 Added the ability to save the video during mid generation when we hit the stop button.
- Fixed GFPGAN not working on txt2vid.
2022-10-07 23:49:19 -07:00
ZeroCool940711
ac2d348f04 Fixed "expected scalar type Half but found Float" on txt2vid. 2022-10-07 20:32:02 -07:00
ZeroCool940711
45976077c0 Changed the image preview frequency field to only allow positive values. 2022-10-07 16:59:29 -07:00
ZeroCool940711
2fa1b07d6f Changed txt2vid st.slider to st.number_input as its easier to use and more flexible than a slider. 2022-10-06 01:45:24 -07:00
hlky
cd700692eb
KeyError: 'pipe' 2022-10-05 05:29:10 +01:00
hlky
3851fcc537
model manager
model manager
2022-10-04 19:39:52 +01:00
ZeroCool940711
f866ffdad4 Fixed multiple settings and default values not working properly. 2022-10-02 21:25:41 -07:00
ZeroCool940711
393a695aef Fixed LDSR, now it should work both txt2img and img2img 2022-10-02 20:26:01 -07:00
ZeroCool940711
7354c901d2 Fixed LDSR not working on txt2img and img2img.
- Removed the checkbox to disable the preview image, instead users should increase the frequency at which it is displayed if they have performance issues, after a certain point it no longer affects performance.
2022-10-02 13:10:17 -07:00
ZeroCool940711
0c03cedeb9 Added LDSR to the UI. 2022-10-01 20:18:09 -07:00
hlky
a3f94d3491
Update txt2vid.py 2022-10-02 00:52:53 +01:00
hlky
babf6c4fc0
Update txt2vid.py 2022-10-02 00:46:51 +01:00
hlky
4b6de58ae4
Update txt2vid.py 2022-10-02 00:27:58 +01:00
hlky
47e340dc2c
Update txt2vid.py 2022-10-01 23:59:50 +01:00
hlky
2a49c28980
docker / local cache paths 2022-10-01 22:50:40 +01:00
ZeroCool940711
625ba555e3 Fixed custom models not loading on txt2img, img2img and txt2vid. 2022-09-29 03:29:44 -07:00
ZeroCool940711
ae263cb55e Made sure the txt2vid tab shows a loading animation when the models are loading. 2022-09-29 01:07:32 -07:00
Alejandro Gil
3e40bab7f7
Changed the default streamlit import for hydralit as we will be using hydralit as replacement for the default streamlit library, hydralit provides better control over css as well as having a lot more options. (#1352) 2022-09-28 09:33:54 -07:00
Alejandro Gil
519d7c661f
Added new implementation of the textual inversion page. (#1342) 2022-09-27 11:36:48 -07:00
ZeroCool
8f2ed2f350
Added message on the text to video tab for specifying how to add the huggingface token if its missing. (#1339)
# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-27 00:57:28 -07:00
ZeroCool
6db88c4673
Merge branch 'dev' into dev 2022-09-26 07:03:59 -07:00
ZeroCool940711
b06199ebb6 Added expander for the variant option on txt2vid to reduce the amount of space it uses. 2022-09-26 06:17:50 -07:00
ZeroCool940711
35ec438682 Daisi app fix 4
Added option on the settings page to add your huggingface token.
Daisi app fix 3
Daisi app fix 2
Daisi app fix
2022-09-26 06:08:13 -07:00
hlky
4a15702fe9
License header 2022-09-26 14:02:48 +01:00
ZeroCool
1fd28eed1e
Made sure GFPGAN and RealESRGAN are on server_state. (#1319) 2022-09-25 21:23:32 -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
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
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
ZeroCool940711
f99657241d Fixed the image not been decoded in txt2vid if the Update Image Preview options was not checked. 2022-09-20 17:07:38 -07:00
hlky
ba84d28da2
txt2vid fix enumerate(... max_frames)) -> enumerate(... num_steps)) 2022-09-20 14:00:08 +01:00
ZeroCool940711
56ae22eb53 - Improved optimized mode for txt2img, it should be able to generate high resolution images using less VRAM than before.
- Improved txt2vid so its now possible to generate high resolution images with less VRAM than before.
- Added condition to ensure that the pipe model from txt2vid is removed from memory when switching from the txt2vid tab to txt2img and viceversa.
2022-09-19 00:02:21 -07:00
ZeroCool940711
1d9ef57802 Fixed the filename of the video generated at the end of a txt2vid generation, it was saved as test.mp before but now its saved as seed_prompt.mp4 with the seed and prompt form the generation. 2022-09-18 18:29:19 -07:00
ZeroCool940711
a7d7955721 GFPGAN can now be used on the txt2vid tab. 2022-09-18 15:17:02 -07:00
ZeroCool940711
1b1f784a76 Every slider min, max and step values as well as its default value is now configurable through the config file. 2022-09-18 11:11:23 -07:00
hlky
2146f1dd68
slider_steps and slider_bounds in defaults config
slider_steps and slider_bounds in defaults config
2022-09-18 14:06:40 +01:00
ZeroCool940711
cd4396d1da Added option to enable enable_attention_slicing and enable_minimal_memory_usage, this for now only works on txt2vid which uses diffusers. 2022-09-17 16:49:42 -07:00
ZeroCool940711
c35e5804c2 Added a config option to use embeddings from the huggingface stable diffusion concept library. 2022-09-17 15:25:55 -07:00
hlky
b856a91ec8
allow webp uploads to img2img tab #991 2022-09-16 20:55:58 +01:00
ZeroCool940711
ef2da42489 - Bumped the version of diffusers used on the txt2vid tab to be now v0.3.0.
- Added initial file for the textual inversion tab.
2022-09-16 11:50:22 -07:00
ZeroCool940711
0645c7cf64 - Increased the max value for the width and height sliders on the txt2img tab.
- Fixed a leftover line from removing the home tab.
2022-09-15 17:18:36 -07:00
ZeroCool940711
4068d804ad - Added the Home tab made by @devilismyfriend
- Added gallery tab on txt2img.
2022-09-15 06:29:41 -07:00
ZeroCool940711
3e6a8cc185 Small fix to the custom model list. 2022-09-14 15:18:37 -07:00
ZeroCool940711
02fe63acb2 Added custom models list to the txt2img tab. 2022-09-14 14:48:13 -07:00
ZeroCool940711
dbbed38c8c - Fixed max_frame not being properly used and instead sampling_steps was the variable being use.
- Fixed several issues with wrong variable being used on multiple places.
- Addd option to toggle some extra option from the config file for when the model is loading on the txt2vid tab.
2022-09-14 11:34:24 -07:00
ZeroCool940711
4c46633572 Fixed defaults not being loaded correctly or missing in some places. 2022-09-14 09:26:23 -07:00
ZeroCool940711
ed1ebc129c Modified the way the defaults settings are loaded from the config file so we only load them on the webui_strealit.py file and use st.session_state to access them from anywhere else, this makes it so the config can be modified externally like before the code split and the changes will be updated on next rerun of the UI. 2022-09-14 06:40:56 -07:00
ZeroCool940711
9246692072 Moved defaults to the webui_streamlit.py file and fixed some imports. 2022-09-14 04:19:24 -07:00
ZeroCool940711
d2b3900647 Fixed some imports. 2022-09-14 02:52:02 -07:00
ZeroCool940711
ede343a269 The webui_streamlit.py file has been split into multiple modules containing their own code making it easier to work with than a single big file.
The list of modules is as follow:
- webuit_streamlit.py: contains the main layout as well as the functions that load the css which is needed by the layout.
- webui_streamlit_old.py: contains the code for the previous version of the WebUI. Will be removed once the new UI code starts to get used and if everything works as it should.
- txt2img.py: contains the code for the txt2img tab.
- img2img.py: contains the code for the img2img tab.
- txt2vid.py: contains the code for the txt2vid tab.
- sd_utils.py: contains utility functions used by more than one module, any function that meets such condition should be placed here.
- ModelManager.py: contains the code for the Model Manager page on the sidebar menu.
- Settings.py: contains the code for the Settings page on the sidebar menu.
- home.py: contains the code for the Home tab, history and gallery implemented by @devilismyfriend.
- imglab.py: contains the code for the Image Lab tab implemented by @devilismyfriend
2022-09-13 14:09:39 -07:00