Commit Graph

1085 Commits

Author SHA1 Message Date
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
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
11fa714458
docs: add info about docker hub images (#1447) 2022-10-06 20:59:22 +03: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
hlky
c2388aea3b
pycocotools is not used 2022-10-04 19:54:33 +01:00
hlky
3851fcc537
model manager
model manager
2022-10-04 19:39:52 +01:00
Alejandro Gil
1e7bdfe3f3
Models from the Model Manager are now stored inside the config file. This allow us to have them as global variables inside streamlit and have them unified in a single place. (#1422) 2022-10-04 09:06:18 -07:00
ZeroCool940711
b28784d163 Merge remote-tracking branch 'origin/dev' into dev 2022-10-04 09:04:41 -07:00
hlky
2a30f0828f
ModuleNotFoundError: No module named 'loguru' #1417 2022-10-04 13:01:07 +01:00
hlky
c4fa1101da
Delete .env_docker.example 2022-10-04 12:58:30 +01:00
hlky
12533944e2
new docker 2022-10-04 12:57:48 +01:00
hlky
0725e920f3
remove old docker files 2022-10-04 12:52:11 +01:00
hlky
4208ad00bc
Update img2txt.py
// is not a comment
2022-10-04 11:43:36 +01:00
hlky
a4230b5eac
Update horde_bridge.sh 2022-10-04 11:26:57 +01:00
Divided by Zer0
e33d093fa8
Added batch/shell script to explicitly start the stable horde bridge (#1413)
So that people can start it from the file browser/explorer
2022-10-04 11:07:09 +01:00
ZeroCool940711
d89b019b72 Models from the Model Manager are now stored inside the config file. This allow us to have them as global variables inside streamlit and have them unified in a single place. 2022-10-03 13:14:49 -07:00
Thomas Mello
cd1bc79a1b
Revert "Bump numpy from 1.21.5 to 1.22.0" (#1411)
This reverts commit 2d0a4e8e96, reversing
changes made to 1190d8858c.
2022-10-03 20:52:33 +03:00