Commit Graph

1169 Commits

Author SHA1 Message Date
ZeroCool940711
67f4c27ea2 Improved hot reloading for some model options like optimized and float16. 2022-10-11 22:33:28 -07:00
ZeroCool940711
1cc22b0984 Add option to select between lerp and slerp in txt2vid 2022-10-11 22:33:28 -07:00
MechanoPixel
2215a3b403
Skip WebUI prompt if --bridge passed, Detailed error messages if bridgeData.py fails to load (#1483)
# Description

Please include:
- [x] relevant motivation
- [x] a summary of the change
- [ ] which issue is fixed.
- [x] any additional dependencies that are required for this change.

Fixes a small typo of "Bridg" in horde_bridge.sh
Makes webui.sh skip asking for StreamLit/Gradio if --bridge is passed
More detailed error messages if bridgeData.py is missing/malformed
(previously it would only say no bridgeData found, which caused
confusion when bridgeData did exist but was incorrectly formatted)

# 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

Co-authored-by: mechanopixel <takatarumc@gmail.com>
2022-10-11 13:23:04 +03:00
Alejandro Gil
994341efba
You can now change the optimized mode, float16 and no_half options on the Settings page without having to restart the app. (#1503) 2022-10-10 20:46:46 -07:00
ZeroCool940711
1bc6c9b6db You can now change the optimized mode, float16 and no_half options without having to restart the app. 2022-10-10 20:45:37 -07:00
Alejandro Gil
322108a639
Fixed the beta start and beta end format. It was been converted to int by number_input instead of using text_input. (#1496) 2022-10-10 03:48:29 -07:00
Alejandro Gil
1e33e50714
Merge branch 'sd-webui:dev' into dev 2022-10-10 03:47:32 -07:00
ZeroCool940711
e235a2fd76 Fixed the beta start and beta end format. It was been converted to int by number_input instead of using text_input. 2022-10-10 03:46:16 -07:00
Thomas Mello
97d57be7e6
dev sync (#1495) 2022-10-10 13:00:33 +03:00
hlky
8f613bf256
The merge (#1494) 2022-10-10 10:38:06 +01:00
Thomas Mello
0277ff6cd3 Merge branch 'master' into the-merge 2022-10-10 12:27:43 +03:00
ZeroCool940711
3adca938f1 Added exception handling for the model args option as it can sometimes not work properly and throw an error. 2022-10-09 15:40:07 -07:00
Alejandro Gil
6126942be4
Changed the prompt text_input for a text_area and made it similar in size to the text input. (#1491) 2022-10-09 03:23:15 -07:00
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
fe6e72fde7 Added save_video_on_stop option to the Settings page, this option is used to save the txt2vid generated video to disk when we hit the stop button mid generation. 2022-10-07 23:49:19 -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
97bbf089ea Added save_video_on_stop option to config, this option is used to save the txt2vid generated video to disk when we hit the stop button mid generation. 2022-10-07 23:49:19 -07:00
Alejandro Gil
a990683a96
Fixed "expected scalar type Half but found Float" on txt2vid. (#1475) 2022-10-07 20:32:41 -07:00
ZeroCool940711
ac2d348f04 Fixed "expected scalar type Half but found Float" on txt2vid. 2022-10-07 20:32:02 -07:00
Alejandro Gil
1d8830b1bd
Changed some more text_input to number_input and made sure they return the right value type. (#1474) 2022-10-07 18:05:53 -07:00
ZeroCool940711
43a950ffd4 Merge remote-tracking branch 'origin/dev' into dev 2022-10-07 17:57:14 -07:00
ZeroCool940711
55b39b53bc Changed some more text_input to number_input and made sure they return the right value type. 2022-10-07 17:57:06 -07:00
Alejandro Gil
a67f4230fd
Changed the image preview frequency field to only allow positive values. (#1472) 2022-10-07 17:00:33 -07:00
ZeroCool940711
45976077c0 Changed the image preview frequency field to only allow positive values. 2022-10-07 16:59:29 -07:00
Alejandro Gil
b97866af10
Moved the pip dependencies from the environment.yaml to the requirements.txt file. (#1468)
Moved the pip dependencies from the environment.yaml to the
requirements.txt file.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
2022-10-07 12:41:56 -07:00
ZeroCool940711
d9b4914406 Moved the pip dependencies from the environment.yaml to the requirements.txt file. 2022-10-07 12:40:06 -07:00
Alejandro Gil
0c1928757b
Fixed use of multiple spaces after some operators. (#1464) 2022-10-06 23:46:28 -07:00
ZeroCool940711
e95385e27e Fixed use of multiple spaces after some operators. 2022-10-06 23:45:55 -07:00
Alejandro Gil
179bc96c65
Changed yaml.load() for yaml.safe_load() in daisi_app.py (#1463)
# 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-10-06 23:36:14 -07:00
ZeroCool940711
0a54ea6791 Changed yaml.load() for yaml.safe_load() in daisi_app.py 2022-10-06 23:32:54 -07:00
Alejandro Gil
e1c24609a3
fix type error (#1462)
# Description

hopefully fixes
```
StreamlitAPIException: All numerical arguments must be of the same type. value has int type. min_value has int type. max_value has NoneType type. step has str type.
Traceback:

File "/home/chris/stable2/sd-web/stable-diffusion-webui/scripts/webui_streamlit.py", line 177, in <module>
    layout()
File "/home/chris/stable2/sd-web/stable-diffusion-webui/scripts/webui_streamlit.py", line 141, in layout
    layout()
File "scripts/txt2img.py", line 267, in layout
    st.session_state.sampling_steps = st.number_input("Sampling Steps", value=st.session_state.defaults.txt2img.sampling_steps.value,
```
for some users


Fixes #1456

# 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-10-06 23:27:44 -07:00
cstueckrath
c8740fadb4
fix type error 2022-10-07 08:12:28 +02:00
Alejandro Gil
f9dfb8e699
Removed trailing spaces on the config file. (#1458) 2022-10-06 17:58:23 -07:00
ZeroCool940711
849b0f92a9 Removed trailing spaces on the config file. 2022-10-06 17:57:11 -07:00
Alejandro Gil
1a9c053cb7
Update README.md (#1455)
Changed the links for GFPGAN, it was still pointing to the v1.3 version
instead of v1.4, this is why we get so many issues with people not
having the proper model downloaded.
2022-10-06 12:28:36 -07:00
Alejandro Gil
f2b691da41
Update README.md 2022-10-06 12:27:22 -07:00
Alejandro Gil
4ec5aa1f2c
Fixed wrong links to gfpgan v1.3 on the Readme.md instead of using the v1.4 links. (#1454) 2022-10-06 12:22:34 -07:00
ZeroCool940711
d4823e89f8 Fixed wrong links to gfpgan v1.3 on the Readme.md instea of using the v1.4 links. 2022-10-06 12:21:54 -07:00
Thomas Mello
0bac445867 docs: add info about docker hub images (#1447) 2022-10-06 21:00:50 +03:00
Thomas Mello
11fa714458
docs: add info about docker hub images (#1447) 2022-10-06 20:59:22 +03:00
hlky
72fb6ffe1f
The Merge (#1444)
The Merge
2022-10-06 13:17:06 +01:00
hlky
ff78dad4c7
Merge branch 'master' into dev 2022-10-06 13:16:50 +01:00
Alejandro Gil
c60e6f1fa9
Changed some more text_input to number_input. (#1443) 2022-10-06 02:20:58 -07:00
ZeroCool940711
3004b864aa Merge remote-tracking branch 'origin/dev' into dev 2022-10-06 02:17:57 -07:00
ZeroCool940711
ad94cc17a6 Changed some more text_input to number_input. 2022-10-06 02:08:29 -07:00
Alejandro Gil
b0415206ae
Replace some sliders and text_input with number_input. (#1441) 2022-10-06 01:51:08 -07:00
ZeroCool940711
5b05977e89 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	scripts/txt2img.py
2022-10-06 01:49:18 -07:00
ZeroCool940711
321b110a75 Changed img2img st.slider to st.number_input as its easier to use and more flexible than a slider. 2022-10-06 01:46:41 -07:00
ZeroCool940711
c60626d076 Changed Settings st.slider as well as some st.text_input to st.number_input. 2022-10-06 01:46:24 -07:00
ZeroCool940711
f415dad27e Changed txt2img st.slider to st.number_input as its easier to use and more flexible than a slider. 2022-10-06 01:45:47 -07:00