This commit is contained in:
AIrjen
2024-02-24 12:56:18 +01:00
parent 1683fddd39
commit 8f521fa68b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ class OneButtonPreset:
def Comfy_OBP_OneButtonPreset(self, OneButtonPreset, seed, base_model):
# load the stuff
if(OneButtonPreset == OBPresets.OneButtonPreset):
if(OneButtonPreset == OBPresets.RANDOM_PRESET_OBP):
selected_opb_preset = OBPresets.get_obp_preset("Standard")
else:
selected_opb_preset = OBPresets.get_obp_preset(OneButtonPreset)
+1 -1
View File
@@ -3100,7 +3100,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
completeprompt = parse_custom_functions(completeprompt, insanitylevel)
# prompt enhancer!
if(templatemode == False and specialmode == False):
if(templatemode == False and specialmode == False and base_model != "Stable Cascade"):
# how insane do we want it?
maxamountofwords = max(0, -1 + random.randint(0,4),6 - insanitylevel)
+1 -1
View File
@@ -114,6 +114,6 @@ generateprompts(10,5
, 0 # seed
, "" #outfit override
, False #prompt_g_and_l
, "SDXL" #base model
, "Stable Cascade" #base model
, "All (random)..." #preset "All (random)..."
)