Fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
@@ -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)..."
|
||||
)
|
||||
Reference in New Issue
Block a user