You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a somewhat silly example but it would be convenient. How would one define a variable x such that …
defineVariablesHere:
x: city
axes:
prompt:
title: The Prompt
values.prompt: forest near the ${city}
negative_prompt:
title: The Negative Prompt
values.negative prompt: ${city}
…, or it might be used for PromptReplace where numerous PromptReplace operations share many similar substrings.
Activity
add variables for #16
mcmonkey4eva commentedon Jan 9, 2023
Eh, why not, adds a bit of convenience for repetitive values. Added^
You can just do like:
and then use
prompt: a (type)You can use literally any format, the parens are just an easy example - it's a simple string replacement, nothing fancy.