update lora

This commit is contained in:
Vladimir Mandic
2023-05-16 12:24:04 -04:00
parent bc02d6668d
commit bce16a1db5
10 changed files with 208 additions and 76 deletions
+1 -1
View File
@@ -2,7 +2,6 @@
* temporary fix for https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/668
* @see https://github.com/gradio-app/gradio/issues/1721
*/
window.addEventListener('resize', () => imageMaskResize());
function imageMaskResize() {
const canvases = gradioApp().querySelectorAll('#img2maskimg .touch-none canvas');
if (!canvases.length) {
@@ -42,4 +41,5 @@ function imageMaskResize() {
});
}
window.addEventListener('resize', imageMaskResize);
onUiUpdate(() => imageMaskResize());