Commit Graph

1512 Commits

Author SHA1 Message Date
ZeroCool940711
2e2b35ff71
Fixed issue with new ldm folder requiring the personalization_config to be set even if empty.
Added shutup as a dependency to shutup python warnings for good.
2022-11-26 17:59:34 -07:00
ZeroCool940711
5841dc85a6
Using a different ldm folder to help with memory management and allowing users to render bigger resolutions without running out of memory. 2022-11-26 17:25:05 -07:00
Alejandro Gil
00ee44fb62
Included more files needed for running the 2.0 model. (#1689) 2022-11-24 19:31:18 -08:00
ZeroCool940711
709c62e1d6
Included more files needed for running the 2.0 model. 2022-11-24 20:29:29 -07:00
Alejandro Gil
a7378f533d
updates to webui_flet.py and .yaml, fixes to settings page and config (#1687)
# Description
made factory functions to parse config and generate settings page.
# 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
- [ ] I have made corresponding changes to the documentation
2022-11-24 13:33:49 -08:00
Alejandro Gil
b196126807
Merge branch 'dev' into dev 2022-11-24 13:33:27 -08:00
Alejandro Gil
6c86ecaed6
Initial support for the 2.0 model (#1688)
Initial support for the Stable Diffusion 2.0 model. 
As of right now changing the `default_model_config` option on the
`webui_streamli.yaml` to point to the `v2-inference.yaml` file and
downloading manually the Stable Diffusion v2.0 model and placing it on
the `models/custom` folder will let you load it and run it but the
colors are still messed up, needs more work on it to fix this issue.
2022-11-24 13:32:56 -08:00
aedh carrick
c55773c127 fixed sliders, added switches 2022-11-24 14:44:54 -06:00
ZeroCool940711
23b5c7cfa8
Initial support for the 2.0 model 2022-11-24 13:22:16 -07:00
aedh carrick
20a7b6387a
Merge branch 'Sygil-Dev:dev' into dev 2022-11-24 12:13:44 -06:00
Alejandro Gil
874053b028
Removed some schedulers that were imported but never used on txt2vid. (#1685) 2022-11-23 19:08:13 -08:00
ZeroCool940711
361b27b3e6
Removed some schedulers that were imported but never used on txt2vid. 2022-11-23 20:07:02 -07:00
Alejandro Gil
39e33fbaf5
Updated diffusers to 0.7.2 (#1684) 2022-11-23 19:01:04 -08:00
ZeroCool940711
036233db61
Updated diffusers to 0.7.2 2022-11-23 20:00:33 -07:00
Alejandro Gil
30bf072b12
Fixed bug in txt2vid not allowing you to use custom models. (#1683)
Fixed the script that convert ckpt models to diffusers not working with
some models if they had invalid or broken keys, these keys are now
ignored so we can still convert the model.
2022-11-23 18:57:33 -08:00
ZeroCool940711
0d734219a8
Fixed bug in txt2vid not allowing you to use custom models.
Fixed the script that convert ckpt models to diffusers not working with some models if they had invalid or broken keys, these keys are now ignored so we can still convert the model.
2022-11-23 19:56:40 -07:00
Aedh Carrick
291f4347c6 need to update settings from settings page, without remapping 2022-11-23 16:27:23 -06:00
Aedh Carrick
e1f2ff28aa fixed layout switcher 2022-11-23 14:38:02 -06:00
Aedh Carrick
790838709a syncing changes to webui_flet-note:sliders have no labels? 2022-11-23 13:30:05 -06:00
Aedh Carrick
667a0015ca added factory to create settings pages from config 2022-11-23 12:54:00 -06:00
Alejandro Gil
54e7da7721
Merged changes from @aedhcarrick to the config file. Improved the layout for the new UI by changing some menus to dropdowns. Reduced the padding on text fields as well as dropdowns. (#1681)
Merged changes from @aedhcarrick to the config file.
- Improved the layout for the new UI by changing some menus to
dropdowns.
- Reduced the padding on text fields as well as dropdowns.
2022-11-22 17:31:21 -08:00
ZeroCool940711
a214c06ac6
Merge remote-tracking branch 'origin/dev' into dev 2022-11-22 18:29:33 -07:00
ZeroCool940711
ad0a56829c
Merged changes from @aedhcarrick to the config file.
- Improved the layout for the new UI by changing some menus to dropdowns.
- Reduced the padding on text fields as well as dropdowns.
2022-11-22 18:29:14 -07:00
Alejandro Gil
2bbd9300a3
Added option to set the FPS on the txt2vid tab. (#1680) 2022-11-22 09:25:14 -08:00
ZeroCool940711
725b1c5346
Added option to set the FPS on the txt2vid tab. 2022-11-22 10:07:09 -07:00
Alejandro Gil
5604001979
Improve text to vid (#1678)
Got text to video working, because I really wanted to play with it. It
works, well enough for now.
When I have some more time I plan to look into how to change the UI so I
can add a field for choosing FPS.
Please feel free to critique my changes, I'm still early in the learning
to code process.

# Description
* FPS defaults all changed to 30
* Change the way total_frames is calculated (now just FPS * duration) -
not sure if this is ideal but it works
* Generation now stops when it reaches total_frames value

Closes: #1676 

# 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
- [ ] I have made corresponding changes to the documentation
2022-11-22 07:31:18 -08:00
Craulback
ee0341aff2
add 1 extra frame 2022-11-21 18:32:10 -07:00
Craulback
5988532fc2
fix accidental deletion 2022-11-21 18:28:38 -07:00
Craulback
a5fd15e412
change max duration & frames math 2022-11-21 18:06:54 -07:00
Craulback
f47c9c6a82
stop at total_frames, up default fps when saving 2022-11-21 17:47:35 -07:00
Alejandro Gil
43da4ec796
updated webui_flet.py and added configs (#1677)
# Description
added webui_flet_utils.py and webui_flet.yaml
moved webui_flet_* to 'scripts/' and put .yaml in 'configs/webui/'
added 'userconfig_flet.yaml' to .gitignore
very much WIP.

# 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
- [ ] I have made corresponding changes to the documentation
2022-11-21 14:17:18 -08:00
aedh carrick
4d06a78dc5
Merge pull request #1 from aedhcarrick/flet-dev
Flet dev
2022-11-21 16:03:23 -06:00
Aedh Carrick
8a6613f00f added settings to page.session 2022-11-21 15:28:48 -06:00
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
aedh carrick
a9bc4f69c6 added webui_utils.py for flet 2022-11-19 12:10:13 -06:00
Alejandro Gil
269107a104
Added global negative prompt on config file. (#1670) 2022-11-17 09:14:37 -08:00
ZeroCool940711
ef4cf8bc98
Added global negative prompt on config file. 2022-11-17 10:11:42 -07:00
ZeroCool940711
ae47c55222
Added dalle-flow submodule as starting point for the new backend using jina. 2022-11-17 03:00:57 -07:00
Alejandro Gil
ef482ff47c
Merging changes made by @aedhcarrick to make the code for the flet UI more readable. (#1669)
# Description
This PR merges changes made by @aedhcarrick on his fork to improve the
code readability on the flet UI and fixes some issues like the prompt
box breaking the page title on smaller resolutions, it also rearranges
the layout to make better use of the available space.

Thanks for the changes, really appreciate the help :)
2022-11-17 00:56:39 -08:00
Aedh Carrick
b0ae9b7947 rewrote/refactored webui_flet to make more readable 2022-11-16 15:11:43 -06:00
Alejandro Gil
4a0191ff1f
Added script for the new UI done in flet, it is still a WIP and really basic at the moment but should help get some ideas of how things will be in the future, check the comments on the script for some extra info. (#1668) 2022-11-16 02:06:03 -08:00
ZeroCool940711
ab735aaf47
Added script for the new UI done in flet, it is still a WIP and really basic at the moment but should help get some ideas of how things will be in the future, check the comments on the script for some extra info. 2022-11-16 03:03:44 -07:00
Alejandro Gil
b7bb59e278
Added barfi as dependency again to requirements.txt, for some reason it was removed before and was having issues with the UI. (#1663) 2022-11-14 09:06:57 -08:00
ZeroCool940711
b5d9ddc083
Merge remote-tracking branch 'origin/dev' into dev 2022-11-14 09:06:05 -08:00
ZeroCool940711
4831dac6a8
Added barfi as dependency again to requirements.txt, for some reason it was removed before and was having issues with the UI. 2022-11-14 09:05:52 -08:00
Alejandro Gil
f46b65d77e
Fixed broken links on the readme.md file as well as some typos. (#1662) 2022-11-13 22:28:46 -08:00
ZeroCool940711
96b93d946b
Merge remote-tracking branch 'origin/dev' into dev 2022-11-13 22:27:17 -08:00
ZeroCool940711
1ed10bedf0
Fixed broken links on the readme.md file as well as some typos. 2022-11-13 22:24:57 -08:00
Alejandro Gil
ac4c246e87
Fix Conda environment for correct PyTorch installation (#1659)
# Description

The recent addition of the `conda-forge` channel to `environment.yaml`
causes PyTorch to be installed from that channel, which prevents normal
functionality since that version of PyTorch does not support CUDA at
all.

This PR limits `conda-forge` to be only used for NodeJS, fixing the
PyTorch installation issue.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code

N/A:

- [ ] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-11-12 07:05:12 -08:00