mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 07:45:01 +02:00
Add hook to implement custom prompt preprocessors
This commit is contained in:
@ -1015,6 +1015,8 @@ function getPrompts(prompts) {
|
||||
promptsToMake = applyPermuteOperator(promptsToMake)
|
||||
promptsToMake = applySetOperator(promptsToMake)
|
||||
|
||||
PLUGINS['GET_PROMPTS_HOOK'].forEach(fn => { promptsToMake = fn(promptsToMake) })
|
||||
|
||||
return promptsToMake
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user