Commit Graph

224 Commits

Author SHA1 Message Date
ZeroCool940711
857608c5f6 ... 2022-09-30 15:46:02 -07:00
ZeroCool940711
20a89a1233 Add more print statements to provide more info on whats happening behind the scenes. 2022-09-30 13:04:08 -07:00
ZeroCool940711
d8a8687852 Improved img2txt layout and performance. 2022-09-30 12:41:01 -07:00
ZeroCool940711
3bb432162e Added open clip dependency which is needed for some CLIP models. 2022-09-30 08:47:30 -07:00
hlky
084fa9732f
Update img2txt.py 2022-09-30 10:40:02 +01:00
ZeroCool940711
51b7c9ac31 Removed some left over comments on webui_streamlit.py 2022-09-30 02:05:16 -07:00
ZeroCool940711
8673363d71 Moved the css loading to be on sd_utils.py 2022-09-30 02:04:52 -07:00
ZeroCool940711
50bc2bb545 Fixed typo on the model manager 2022-09-30 02:04:32 -07:00
ZeroCool940711
5445287bcf Img2txt working now but needs more than 8GB og VRAM to work. Will be trying to improve it as the next step. 2022-09-29 08:52:46 -07:00
ZeroCool940711
466cfde3fa More fixes for img2txt 2022-09-29 07:27:56 -07: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
ZeroCool940711
07d935b445 More fixes to img2txt 2022-09-29 01:07:32 -07:00
Alejandro Gil
f678efb4e2
Img2txt dependencies and necessary files. (#1354) 2022-09-28 12:37:15 -07:00
Alejandro Gil
510d103a83
Temporary fix for the jumpy UI and tabs resetting to the first one. (#1353) 2022-09-28 10:02:08 -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
1f4b564de4
Removed the models in case of OOM so we can reload them. (#1343) 2022-09-27 11:51:17 -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
Lizardy
62790406bf
Fix --config args
* Fixed config args being double-loaded and not replacing the defaults.
2022-09-26 23:58:41 -04:00
ZeroCool
6db88c4673
Merge branch 'dev' into dev 2022-09-26 07:03:59 -07:00
ZeroCool
32b8714b1d
Delete daisi_app.py 2022-09-26 07:03:33 -07:00
ZeroCool940711
7bd036a279 Added config.toml file again. 2022-09-26 06:53:14 -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
ZeroCool940711
61e4839a1b Merge remote-tracking branch 'origin/dev' into dev 2022-09-26 05:00:34 -07:00
ZeroCool940711
d940c491a7 - Improved the layout of the UI.
- Moved relevant options to the top and group them together for easy access.
2022-09-26 04:53:34 -07:00
ZeroCool940711
e5e4954aeb Implemented daisi app base loader for the streamlit UI. 2022-09-26 04:39:40 -07:00
ZeroCool940711
2c8ea3d103 Updated the links on the model manager to comply with HuggingFace's TOS. 2022-09-26 04:17:06 -07:00
ZeroCool940711
0d9f3f4947 Added support for running the webui on daisi.io 2022-09-26 02:36:21 -07:00
ZeroCool940711
0b6d0d3b23 The default streamlit theme can now be customized from the UI as well as the UI config file. 2022-09-26 01:24:14 -07:00
ZeroCool940711
3b4b435768 Added option to enable or disable the streamlit data usage gathering or telemetry. 2022-09-26 01:24:14 -07:00
ZeroCool940711
eb9145000a The default streamlit theme can now be customized from the UI as well as the UI config file. 2022-09-26 01:20:31 -07:00
ZeroCool940711
c37a92c39f Added option to enable or disable the streamlit data usage gathering or telemetry. 2022-09-26 01:12:06 -07:00
ZeroCool
1fd28eed1e
Made sure GFPGAN and RealESRGAN are on server_state. (#1319) 2022-09-25 21:23:32 -07:00
ZeroCool940711
e6529b22ec Made sure GFPGAN and RealESRGAN are on server_state. 2022-09-25 21:07:06 -07:00
Qualzz
5d1558f2b4
Concept library improvements (#1314)
* corrupted pngs handling

* hide search label

* clear cache button
2022-09-25 20:23:19 +01:00
Chris Heald
c7e126f6f8
Updates for the v2 trainer
* Restore --config. This will be useful when you have an init config
  that you don't want overwritten.
* Cache the individual transformed images in TextualInversionDataset.
  This gains speed by avoiding reading and reprocessing the image each
  time it's used for training.
* Turn on no_grad for inference and clean up tensors during
  checkpointing. This reduces memory usage slightly.
* Set the sample output size to 384x384. We just need them large enough
  for manual evaluation, and this gains us a decent chunk of speed.
* (breaking change) Custom templates are now semicolon-delineated.
  Additionally, custom templates are properly passed through to
  TextualInversionDataset to generate input_ids for your images. Using
  custom templates which accurately describe your input images seems to
  improve training fidelity.
* Cache autoencoding of image pixel data. This substantially increases
  the speed of training, upwards of 40% for me.
* Clean up a little bit of cruft.
2022-09-25 13:21:24 +01:00
hlky
0d79243e45
fix diffusers_textual_inversion_2.py conflicts step 1 2022-09-25 13:20:17 +01: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
ZeroCool
a64f9a22b0
Merge branch 'dev' into img2img-esrgan-fix 2022-09-24 18:26:54 -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