mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
support for prompt styles
fix broken prompt matrix
This commit is contained in:
parent
d714ea4c41
commit
86867e153f
10 changed files with 123 additions and 22 deletions
|
|
@ -194,3 +194,12 @@ window.addEventListener('paste', e => {
|
|||
input.dispatchEvent(new Event('change'))
|
||||
});
|
||||
});
|
||||
|
||||
function ask_for_style_name(style_name, text){
|
||||
input = prompt('Style name:');
|
||||
if (input === null) {
|
||||
return [null, null]
|
||||
}
|
||||
|
||||
return [input, text]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue