Commit Graph

1574 Commits

Author SHA1 Message Date
Aedh Carrick
be0eb6bf1a more updates to 'webui_flet.py' 2022-12-08 14:17:58 -06:00
Aedh Carrick
73a96e5d76 added tools, cropped images to canvas size. 2022-12-07 15:17:40 -06:00
Aedh Carrick
b950d83ce5 moved canvas to 'flet_canvas.p' 2022-12-07 12:41:34 -06:00
Alejandro Gil
0d03e899e5
more updates to flet webui (WIP) (#1709)
# Description
moved settings page and layer manager to separate files.
moved flet and helper scripts to 'webui/flet' folder.
edited '.gitignore' to avoid committing test files and logs.
made naive image viewer for gallery.
added image uploader. auto-magically adds uploaded images as new layers.
made layers drag and drop-able, started work on canvas.
added dragbars to panels for resizing.
added 'messasages()' for events to call. messages are printed in
messages tab in bottom panel
    -also printed to dated session log in 'log/webui/flet'
other assorted minor fixes. <--see commit msgs

# 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-12-06 14:27:53 -08:00
Aedh Carrick
8f89bd869a added dragbars to resize panels 2022-12-06 15:49:32 -06:00
Aedh Carrick
0440929dcd added image for empty gallery 2022-12-06 11:23:59 -06:00
aedh carrick
fd7af4288d
Merge branch 'Sygil-Dev:dev' into dev 2022-12-06 05:41:23 -06:00
aedh carrick
e5a3a1b047 more work on flet gallery 2022-12-05 22:16:52 -06:00
Aedh Carrick
46ea2be0db add gallery window 2022-12-05 16:36:40 -06:00
Aedh Carrick
064a7e9554 add uploaded images as layers 2022-12-05 11:47:59 -06:00
Alejandro Gil
6f2986817d
Added support on txt2img and img2img for the k_dpmpp_2m sampler from k-diffusion. (#1707) 2022-12-05 08:20:01 -08:00
ZeroCool940711
4cba48f7c6
Merge remote-tracking branch 'origin/dev' into dev 2022-12-05 09:17:45 -07:00
ZeroCool940711
5490ebbb11
Merge remote-tracking branch 'origin/dev' into dev 2022-12-05 09:17:21 -07:00
ZeroCool940711
f8a9d9169c
Added support on txt2img and img2img for the k_dpmpp_2m sampler from k-diffusion. 2022-12-05 09:17:10 -07:00
Alejandro Gil
7cfe911d52
master to dev (#1706) 2022-12-05 06:39:54 -08:00
Alejandro Gil
5291437085
The Merge (#1705) 2022-12-05 06:34:05 -08:00
Alejandro Gil
d90c44c197
Fixed the generate button needing to be clicked twice on the first run as the models would cause a rerun stopping the generation from starting right away and needing a second click on the generate button. (#1704) 2022-12-05 06:26:37 -08:00
Alejandro Gil
6b73595988
Merge branch 'Sygil-Dev:dev' into dev 2022-12-05 06:26:10 -08:00
Alejandro Gil
4408df7c9b
Update Files for Docker Deployment (#1703)
# Description

This fork addresses the out of date Dockerfile, Dockerfile_base,
Dockerfile_runpod, and the missing userconfig_streamlit.yaml issues that
prevent an up-to-date docker image from being compiled.

Closes: Docker Files out of Date; compiled Docker Container does not
function #1702

# Checklist:

- [*] I have changed the base branch to `dev`
- [*] I have performed a self-review of my own code
- [*] I have commented my code in hard-to-understand areas
- [*] I have made corresponding changes to the documentation
2022-12-05 06:25:57 -08:00
ZeroCool940711
6f635fbfc4
Fixed the generate button needing to be clicked twice on the first run as the models would cause a rerun stopping the generation from starting right away and needing a second click on the generate button. 2022-12-05 07:22:42 -07:00
ZeroCool940711
c3f7edaedf
Updated streamlit-server-state to 0.15.0 2022-12-05 07:21:26 -07:00
mrguymiah
b4933fedef
Update Dockerfile
Fixing typo from "/sd/configs/userconfig_streamlit.yaml" to "/sd/configs/webui/userconfig_streamlit.yaml"
2022-12-05 08:41:38 -05:00
mrguymiah
ded35ed094
Updated Dockerfile_runpod
Updates the Dockerfile to include a copy and rename action to create a userconfig_streamlit.yaml out of a webui-streamlit.yaml to provide a permanent userconfig file without causing issues for non dockerized deployments.
2022-12-05 08:40:58 -05:00
mrguymiah
7864dd0fc2
Update Dockerfile for userconfig
Added a second copy for webui_streamlit.yaml and rename it to userconfig_streamlit.yaml. This makes it available for the docker without causing issues for non dockerized instances.
2022-12-05 08:39:32 -05:00
mrguymiah
3dab457f89
Deleted userconfig_streamlit.yaml
Would cause issues with non dockerized instances.
2022-12-05 08:34:35 -05:00
Alejandro Gil
7da0e298c2
Merge branch 'dev' into master 2022-12-05 00:18:47 -08:00
aedh carrick
2a8366074b minor cchange to 'flet_utils.py' 2022-12-04 19:33:06 -06:00
Aedh Carrick
cb804925f6 moved 'webui_flet' to 'webui/flet/'. fixed file uploader. 2022-12-04 15:48:55 -06:00
mrguymiah
93b0a7f741
Updated Dockerfile_runpod
Moved runpod_entrypoint copy command to the top.
Added the "optimizedSD" directory so that the docker can utilized the Optimized mode.
2022-12-04 15:11:11 -05:00
mrguymiah
4ec54e6380
Updated "Dockerfile"
Moved entrypoint.sh copy to be the first command in the copy chain.
Added a copy command for "optimizedSD" folder, as the docker could not run in optimized mode without the files.
2022-12-04 15:09:31 -05:00
mrguymiah
20ca6e2749
Updated Dockerfile_base
-Added libsndfile1-dev to apt-get command on line 9
-Added ./setup.py copy as line 14
2022-12-04 15:05:56 -05:00
mrguymiah
8166ec4c68
Added "userconfig_streamlit.yaml"
Without an existing file, the docker image does not create the file. This makes the environmental variable work to have Docker create a persistent user configuration file outside of the container. This means that the container dumps the settings every time it's created.
2022-12-04 15:03:29 -05:00
aedh carrick
0100247231
Merge branch 'Sygil-Dev:dev' into dev 2022-12-04 10:40:49 -06:00
Alejandro Gil
4f60ac5b43
Improved optimized mode speed and VRAM usage. (#1701) 2022-12-03 08:34:29 -08:00
ZeroCool940711
7ccfc86397
Improved optimized mode speed and VRAM usage. 2022-12-03 09:33:43 -07:00
Alejandro Gil
a3d5e5e548
Added option to the Settings page to enable or disable cudnn. (#1700) 2022-12-03 05:04:41 -08:00
Alejandro Gil
7928aa8dfb
Merge branch 'Sygil-Dev:dev' into dev 2022-12-03 05:04:22 -08:00
ZeroCool940711
ee1ee05b26
Added option to the Settings page to enable or disable cudnn. 2022-12-03 06:04:04 -07:00
Alejandro Gil
53086b888d
Added option to use cudnn as backend for pytorch, this should help fixing an issue with nvidia 16xx cards getting a black or green square instead of a proper image. (#1699) 2022-12-03 04:58:57 -08:00
ZeroCool940711
9283bb875f
Added option to use cudnn as backend for pytorch, this should help fixing an issue with nvidia 16xx cards getting a black or green square instead of a proper image. 2022-12-03 05:58:18 -07:00
Alejandro Gil
175e5a127b
Added extra tags to the medium.txt file for img2txt and improved the 1 click installer documentation by telling the user to move the install.bat or .sh to the main root before running it. (#1698) 2022-12-01 18:24:59 -08:00
ZeroCool940711
be2667dc49
Added extra tags to the medium.txt file for img2txt and improved the 1 click installer documentation by telling the user to move the install.bat or .sh to the main root before running it. 2022-12-01 19:23:45 -07:00
Aedh Carrick
b47974c985 added proto file uploader, began cleanup 2022-12-01 15:54:01 -06:00
Alejandro Gil
18a3b80927
updates to flet webui (#1697)
# Description
More update/changes to flet wedui, still WIP.
added re-orderable layers panel.
added messages to bottom panel.
changed appbar to row.

# 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-29 14:48:33 -08:00
aedh carrick
78acfd9d10
fixed errors in webui_flet.py
fixed bare exception
removed extra space after operator
2022-11-29 16:20:52 -06:00
Aedh Carrick
0796b44868 flet: added messages 2022-11-29 15:15:53 -06:00
Aedh Carrick
a00dfa9212 fixed layer_panel drag controls 2022-11-29 13:18:11 -06:00
aedh carrick
1e0354be37
Merge branch 'Sygil-Dev:dev' into dev 2022-11-29 10:16:47 -06:00
Aedh Carrick
d311e06d1b started image uploading.. 2022-11-28 16:00:59 -06:00
Alejandro Gil
84120d12ef
Stop text2vid at total_frames (#1695)
# Description
Frame generation is being done in chunks of the number of samples
chosen, so when you needed 120 frames but set 200 samples, it would
generate 200 frames.

* Added a break to stop frames from generating once total_frames is
reached

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [ ] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-11-27 13:41:31 -08:00