Add to Power Prompt widgets. Fixes #396
This commit is contained in:
+2
-1
@@ -24,7 +24,8 @@ class RgthreePowerPrompt:
|
||||
return {
|
||||
'required': {
|
||||
'prompt': ('STRING', {
|
||||
'multiline': True
|
||||
'multiline': True,
|
||||
'dynamicPrompts': True
|
||||
}),
|
||||
},
|
||||
'optional': {
|
||||
|
||||
@@ -17,7 +17,7 @@ class RgthreePowerPromptSimple(RgthreePowerPrompt):
|
||||
SAVED_PROMPTS_CONTENT=[]
|
||||
return {
|
||||
'required': {
|
||||
'prompt': ('STRING', {'multiline': True}),
|
||||
'prompt': ('STRING', {'multiline': True, 'dynamicPrompts': True}),
|
||||
},
|
||||
'optional': {
|
||||
"opt_clip": ("CLIP", ),
|
||||
|
||||
@@ -27,10 +27,12 @@ class RgthreeSDXLPowerPromptPositive:
|
||||
return {
|
||||
'required': {
|
||||
'prompt_g': ('STRING', {
|
||||
'multiline': True
|
||||
'multiline': True,
|
||||
'dynamicPrompts': True
|
||||
}),
|
||||
'prompt_l': ('STRING', {
|
||||
'multiline': True
|
||||
'multiline': True,
|
||||
'dynamicPrompts': True
|
||||
}),
|
||||
},
|
||||
'optional': {
|
||||
|
||||
@@ -28,10 +28,12 @@ class RgthreeSDXLPowerPromptSimple(RgthreeSDXLPowerPromptPositive):
|
||||
return {
|
||||
'required': {
|
||||
'prompt_g': ('STRING', {
|
||||
'multiline': True
|
||||
'multiline': True,
|
||||
'dynamicPrompts': True
|
||||
}),
|
||||
'prompt_l': ('STRING', {
|
||||
'multiline': True
|
||||
'multiline': True,
|
||||
'dynamicPrompts': True
|
||||
}),
|
||||
},
|
||||
'optional': {
|
||||
|
||||
Reference in New Issue
Block a user