Commit Graph

1259 Commits

Author SHA1 Message Date
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
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
ZeroCool940711
0eaff932df Added extra models back to img2txt. 2022-10-06 00:03:45 -07:00
ZeroCool940711
5f0bceb82d Fixed hard coded separators. 2022-10-06 00:03:45 -07:00
ZeroCool940711
422c0d6329 Walk the directory for GFPGAN so we can also get the older models in case we have more than one, this allow us to compare multiple versions to see how they perform against each other. 2022-10-06 00:03:45 -07:00
ZeroCool940711
b0cce19083 Force model availability, if inside a condition they will only be checked once so in order to see new models you would need to restart streamlit. 2022-10-06 00:03:45 -07:00
ZeroCool940711
fd2cdd60e2 Added extra models back to img2txt. 2022-10-05 23:48:32 -07:00
ZeroCool940711
27a3e8de89 Fixed hard coded separators. 2022-10-05 23:48:18 -07:00
ZeroCool940711
a4b7efe04d Walk the directory for GFPGAN so we can also get the older models in case we have more than one, this allow us to compare multiple versions to see how they perform against each other. 2022-10-05 23:47:58 -07:00
ZeroCool940711
173d527979 Force model availability, if inside a condition they will only be checked once so in order to see new models you would need to restart streamlit. 2022-10-05 23:47:05 -07:00
hlky
c2f1970e6b
convert pt embed to bin 2022-10-06 02:40:36 +01:00