#728 Refine mode for captioning plugin

This commit is contained in:
Cohee
2023-07-18 18:22:51 +03:00
parent 5209485f20
commit 547b275768
3 changed files with 49 additions and 6 deletions

View File

@@ -490,7 +490,7 @@ async function generatePrompt(quiet_prompt) {
}));
if (extension_settings.sd.refine_mode) {
const refinedPrompt = await callPopup('<h3>Review and edit the generated prompt:</h3>Press "Cancel" to abort the image generation.', 'input', reply, { rows: 5 });
const refinedPrompt = await callPopup('<h3>Review and edit the generated prompt:</h3>Press "Cancel" to abort the image generation.', 'input', reply, { rows: 5, okButton: 'Generate' });
if (refinedPrompt) {
reply = refinedPrompt;