mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-25 12:22:49 +02:00
Moving to InvokeAI attention weighting syntax
This commit is contained in:
parent
a0dc82e1f9
commit
a3b4ed0cd1
@ -125,7 +125,8 @@ function createModifierGroup(modifierGroup, initiallyExpanded, removeBy) {
|
||||
}
|
||||
|
||||
function trimModifiers(tag) {
|
||||
return tag.replace(/^\(+|\)+$/g, '').replace(/^\[+|\]+$/g, '')
|
||||
// Remove trailing '-' and/or '+'
|
||||
return tag.replace(/[-+]+$/, '');
|
||||
}
|
||||
|
||||
async function loadModifiers() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user