Commit Graph

1148 Commits

Author SHA1 Message Date
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
Kasiya13
24509a647e
Settings and defaults for upscaling (#1435)
-Changes wording on Memory Monitor to not alarm users (happened a few
times)
-Adds config settings "use_upscaling" and "upscaling_method" to settings
menu, were already in yaml
2022-10-05 22:23:31 +03:00
Thomas Mello
1b59570773
fix: LDSR loading (#1433) 2022-10-05 20:50:05 +03:00
Divided by Zer0
fe9fb596e5
Adds more NSFW controls to the horde worker (#1426)
Allows worker to specify a word blacklist which it will refuse to pickup

Allows the worker to specify a word censorlist, against which it will
always apply the NSFW filter, even if the worker accepts NSFW.

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
Co-authored-by: lukas5450 <46075099+lukas5450@users.noreply.github.com>
Co-authored-by: JamDon2 <hello@jamdon2.dev>
2022-10-05 13:55:04 +01:00
hlky
c1e97c8bcc
img2txt speed + vram issues 2022-10-05 05:31:20 +01:00
hlky
7985c97c69
update data lists 2022-10-05 05:29:57 +01:00
hlky
51cad93702
Update .dockerignore 2022-10-05 05:29:11 +01:00
hlky
cd700692eb
KeyError: 'pipe' 2022-10-05 05:29:10 +01:00
hlky
b650c162e6
src->models 2022-10-05 01:03:06 +01:00
hlky
8cef7c8762
requests instead of wget
weird bug with wget for some urls because it can't detect the filename, even though we provide a filename
2022-10-04 23:08:24 +01:00
hlky
177e96fea9
Update requirements.txt
Update requirements.txt
2022-10-04 19:59:08 +01:00
hlky
d134e935a3
wget 2022-10-04 19:58:26 +01:00