Extend caption/img gen generated text preview rows
| @@ -108,7 +108,7 @@ async function wrapCaptionTemplate(caption) { | ||
| 108 | 108 | 'Review and edit the generated caption:', |
| 109 | 109 | 'Press "Cancel" to abort the caption sending.', |
| 110 | 110 | messageText, |
| 111 | 111 | { rows: 58, okButton: 'Send' }); |
| 112 | 112 | |
| 113 | 113 | if (!messageText) { |
| 114 | 114 | throw new Error('User aborted the caption sending.'); |
| @@ -734,7 +734,7 @@ async function onSaveStyleClick() { | ||
| 734 | 734 | async function refinePrompt(prompt, isNegative) { |
| 735 | 735 | if (extension_settings.sd.refine_mode) { |
| 736 | 736 | const text = isNegative ? '<h3>Review and edit the <i>negative</i> prompt:</h3>' : '<h3>Review and edit the prompt:</h3>'; |
| 737 | 737 | const refinedPrompt = await callGenericPopup(text + 'Press "Cancel" to abort the image generation.', POPUP_TYPE.INPUT, prompt.trim(), { rows: 58, okButton: 'Continue' }); |
| 738 | 738 | |
| 739 | 739 | if (refinedPrompt) { |
| 740 | 740 | return String(refinedPrompt); |