Commit Graph

1054 Commits

Author SHA1 Message Date
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
Alejandro Gil
8283030ef9
Fixed error when selecting LDSR without GFPGAN enabled. (#1410)
Changed hydralit and hydralit components order on the environment file
as it might be causing some issues.
2022-10-03 09:00:44 -07:00
ZeroCool940711
be9994b061 Changed hydralit and hydralit components order on the environment file as it might be causing some issues. 2022-10-03 08:59:47 -07:00
ZeroCool940711
01ec29b641 Merge remote-tracking branch 'origin/dev' into dev 2022-10-03 08:58:45 -07:00
ZeroCool940711
3b104987bb Fixed error when selecting LDSR without GFPGAN enabled. 2022-10-03 08:58:37 -07:00
Divided by Zer0
9ec4b672a2
Fix infinite loop on bridge mode when seed == 0 (#1406)
The bridge will keep looping on the same generation because the
evaluation of "while not seed" will always be False when seed is 0 (or
00000000 etc)

This fixes this. Also allows to request more verbosity on the webui
command

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
Co-authored-by: lukas5450 <46075099+lukas5450@users.noreply.github.com>
2022-10-03 09:26:26 +01:00
Alejandro Gil
a48b6b3859
Added LDSR to model manager. (#1404)
- Fixed missing keys on first run, it seems related to server_state
doing a rerun in the background on first run which changes the first
session_state initialization, this causes it to be empty until the
second run.
2022-10-02 21:58:38 -07:00
ZeroCool940711
c3b43dc836 Added LDSR to model manager. 2022-10-02 21:57:26 -07:00
ZeroCool940711
2a078d5657 Fixed missing keys on first run, it seems related to server_state doing a rerun in the background on first run which changes the first session_state initialization, this causes it to be empty until the second run. 2022-10-02 21:50:24 -07:00
Alejandro Gil
e975aac7a4
Fixed multiple settings and default values not working properly. (#1403) 2022-10-02 21:26:26 -07:00
Alejandro Gil
891c4be726
Merge branch 'sd-webui:dev' into dev 2022-10-02 21:26:01 -07:00
ZeroCool940711
f866ffdad4 Fixed multiple settings and default values not working properly. 2022-10-02 21:25:41 -07:00
Alejandro Gil
f230e32010
Fixed LDSR, now it should work both txt2img and img2img (#1402)
- Removed slider values for batch_count and batch_size as they are now a
text_input instead of a slider.
- Removed the checkbox to disable the preview image, instead users
should increase the frequency at which it is displayed if they have
performance issues, after a certain point it no longer affects
performance.
- Removed GFPGAN GitHub dependency, we can now use pip to install a
fixed version of it.
- Fixed LDSR, now it should work both txt2img and img2img
2022-10-02 20:28:31 -07:00
ZeroCool940711
393a695aef Fixed LDSR, now it should work both txt2img and img2img 2022-10-02 20:26:01 -07:00
ZeroCool940711
8239c328fd Merge remote-tracking branch 'origin/dev' into dev 2022-10-02 16:27:43 -07:00
Travis Fletcher
a06c4081d9
Add missing GPFGANv1.4 model to docker list (#1394)
# Description
Add GFPGANv1.4 to the docker download list

Closes: none

# 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-02 22:15:38 +01:00
xaedes
1b6f6e5652
Add Scene2Image documentation (#1399)
# Description

Add section for Scene2Image in markdown documentation.

# 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

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-10-02 22:14:52 +01:00
ZeroCool940711
f5254de10a Merge remote-tracking branch 'origin/dev' into dev 2022-10-02 13:43:37 -07:00
hlky
0050d54a1a default=false 2022-10-02 21:20:46 +01:00
ZeroCool940711
0f648e808a Merge remote-tracking branch 'origin/dev' into dev 2022-10-02 13:14:16 -07:00
ZeroCool940711
d47c258eaa Removed GFPGAN github dependency, we can now use pip to install a fixed version of it. 2022-10-02 13:11:30 -07:00
ZeroCool940711
7354c901d2 Fixed LDSR not working on txt2img and img2img.
- Removed the checkbox to disable the preview image, instead users should increase the frequency at which it is displayed if they have performance issues, after a certain point it no longer affects performance.
2022-10-02 13:10:17 -07:00
ZeroCool940711
38ff4a138c Removed slider values for batch_count and batch_size as they are now a text_input instead of a slider. 2022-10-02 13:08:37 -07:00
xaedes
a88cf2a22c
Add metadata to scn2img intermediate image output (#1386)
# Description

Intermediate image saving in scn2img tries to save metadata which is not
set. This results in warning thrown in console: "Couldn't find metadata
on image", originally reported by @codedealer in
https://github.com/sd-webui/stable-diffusion-webui/pull/1179#pullrequestreview-1120015859

Metadata for intermediate images is added to fix the warning.

Following metadata is written:
- "prompt" contains the representation of the SceneObject corresponding
to the intermediate image
- "seed" contains the seed at the start of the function that generated
this intermediate image
- "width" and "height" contain the size of the image.

To get the seed at the start of the render function without using it, a
class SeedGenerator is added and used instead of the python generator
functions.

Fixes warning thrown in console: "> Couldn't find metadata on image",
originally reported by @codedealer in
https://github.com/sd-webui/stable-diffusion-webui/pull/1179#pullrequestreview-1120015859

# 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-02 20:56:49 +01:00
hlky
f3d5068951
Revert "Merge branch 'master' into dev"
This reverts commit 73e513ae5a, reversing
changes made to bb8850b9dd.
2022-10-02 19:42:07 +01:00
hlky
73e513ae5a
Merge branch 'master' into dev 2022-10-02 19:41:40 +01:00
Divided by Zer0
bb8850b9dd
Allows passing args to webui.sh and webui.cmd (#1385)
This change helps with starting the stable horde bridge, without having
to change the relauncher.py every time. It also allows one to start
multiple bridges (for multiple GPUs) by passing the `-n` argument to the
.cmd/.sh
2022-10-02 19:24:23 +01:00
Alejandro Gil
481c4d83cd
Updated the model manager with the new locations and models links. (#1384) 2022-10-02 11:00:50 -07:00
Alejandro Gil
fdf600b49a
Merge branch 'sd-webui:dev' into dev 2022-10-02 11:00:24 -07:00