From 68b4224f37e24a0e22b6dc06a37d251aae1af7d3 Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Thu, 4 May 2023 12:26:55 +0200 Subject: [PATCH] Add support for tiled-diffusion https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 --- javascript/_textAreas.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/javascript/_textAreas.js b/javascript/_textAreas.js index cc34989..5006d72 100644 --- a/javascript/_textAreas.js +++ b/javascript/_textAreas.js @@ -38,6 +38,24 @@ const thirdParty = { "Additional tags (split by comma)", "Exclude tags (split by comma)" ] + }, + "tiled-diffusion-t2i": { + "base": "#txt2img_script_container", + "hasIds": true, + "onDemand": true, + "selectors": [ + "[id^=MD-t2i][id$=prompt] textarea", + "[id^=MD-t2i][id$=prompt] input[type='text']" + ] + }, + "tiled-diffusion-i2i": { + "base": "#img2img_script_container", + "hasIds": true, + "onDemand": true, + "selectors": [ + "[id^=MD-i2i][id$=prompt] textarea", + "[id^=MD-i2i][id$=prompt] input[type='text']" + ] } }