| 734 | async function refinePrompt(prompt, isNegative) { | 734 | async 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' }); |
| 738 | | 738 | |
| 739 | if (refinedPrompt) { | 739 | if (refinedPrompt) { |
| 740 | return String(refinedPrompt); | 740 | return String(refinedPrompt); |