Commit
·
572c0ef
1
Parent(s):
edb2ece
- modules/core.py +1 -1
- webui.py +1 -1
modules/core.py
CHANGED
|
@@ -15,7 +15,7 @@ from modules.samplers_advanced import KSampler, KSamplerWithRefiner
|
|
| 15 |
from modules.adm_patch import patch_negative_adm
|
| 16 |
|
| 17 |
|
| 18 |
-
|
| 19 |
opCLIPTextEncode = CLIPTextEncode()
|
| 20 |
opEmptyLatentImage = EmptyLatentImage()
|
| 21 |
opVAEDecode = VAEDecode()
|
|
|
|
| 15 |
from modules.adm_patch import patch_negative_adm
|
| 16 |
|
| 17 |
|
| 18 |
+
patch_negative_adm()
|
| 19 |
opCLIPTextEncode = CLIPTextEncode()
|
| 20 |
opEmptyLatentImage = EmptyLatentImage()
|
| 21 |
opVAEDecode = VAEDecode()
|
webui.py
CHANGED
|
@@ -4,7 +4,7 @@ from modules.default_pipeline import process
|
|
| 4 |
|
| 5 |
def generate_clicked(positive_prompt):
|
| 6 |
return process(positive_prompt=positive_prompt,
|
| 7 |
-
negative_prompt='
|
| 8 |
|
| 9 |
|
| 10 |
block = gr.Blocks().queue()
|
|
|
|
| 4 |
|
| 5 |
def generate_clicked(positive_prompt):
|
| 6 |
return process(positive_prompt=positive_prompt,
|
| 7 |
+
negative_prompt='')
|
| 8 |
|
| 9 |
|
| 10 |
block = gr.Blocks().queue()
|