Extend caption/img gen generated text preview rows

df865dda857376ce6ea708fdb5f35c822f5cb2d7

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -2Ignore whitespace
public/scripts/extensions/caption/index.js+1 -1
@@ -108,7 +108,7 @@ async function wrapCaptionTemplate(caption) {
108 'Review and edit the generated caption:',108 'Review and edit the generated caption:',
109 'Press "Cancel" to abort the caption sending.',109 'Press "Cancel" to abort the caption sending.',
110 messageText,110 messageText,
111 { rows: 5, okButton: 'Send' });111 { rows: 8, okButton: 'Send' });
112112
113 if (!messageText) {113 if (!messageText) {
114 throw new Error('User aborted the caption sending.');114 throw new Error('User aborted the caption sending.');
public/scripts/extensions/stable-diffusion/index.js+1 -1
@@ -734,7 +734,7 @@ async function onSaveStyleClick() {
734async function refinePrompt(prompt, isNegative) {734async function refinePrompt(prompt, isNegative) {
735 if (extension_settings.sd.refine_mode) {735 if (extension_settings.sd.refine_mode) {
736 const text = isNegative ? '<h3>Review and edit the <i>negative</i> prompt:</h3>' : '<h3>Review and edit the prompt:</h3>';736 const text = isNegative ? '<h3>Review and edit the <i>negative</i> prompt:</h3>' : '<h3>Review and edit the prompt:</h3>';
737 const refinedPrompt = await callGenericPopup(text + 'Press "Cancel" to abort the image generation.', POPUP_TYPE.INPUT, prompt.trim(), { rows: 5, okButton: 'Continue' });737 const refinedPrompt = await callGenericPopup(text + 'Press "Cancel" to abort the image generation.', POPUP_TYPE.INPUT, prompt.trim(), { rows: 8, okButton: 'Continue' });
738738
739 if (refinedPrompt) {739 if (refinedPrompt) {
740 return String(refinedPrompt);740 return String(refinedPrompt);