diff --git a/README.md b/README.md index 1dd7e6a..3828370 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Code release for "DemoFusion: Democratising High-Resolution Image Generation Wit **Abstract**: High-resolution image generation with Generative Artificial Intelligence (GenAI) has immense potential but, due to the enormous capital investment required for training, it is increasingly centralised to a few large corporations, and hidden behind paywalls. This paper aims to democratise high-resolution GenAI by advancing the frontier of high-resolution generation while remaining accessible to a broad audience. We demonstrate that existing Latent Diffusion Models (LDMs) possess untapped potential for higher-resolution image generation. Our novel DemoFusion framework seamlessly extends open-source GenAI models, employing Progressive Upscaling, Skip Residual, and Dilated Sampling mechanisms to achieve higher-resolution image generation. The progressive nature of DemoFusion requires more passes, but the intermediate results can serve as "previews", facilitating rapid prompt iteration. # News +- **2024.03.26**: 🚀 A [Demofusion Tab for Automatic1111](https://github.com/sebaxakerhtc/sd-webui-demofusion) is available! Thank [Alexander]([https://github.com/deroberon](https://github.com/sebaxakerhtc)) for the adaptation! - **2024.02.27**: 🔥 DemoFusion has been accepted to CVPR'24! - **2023.12.15**: 🚀 A [ComfyUI Demofusion Custom Node](https://github.com/deroberon/demofusion-comfyui) is available! Thank [Andre](https://github.com/deroberon) for the implementation! - **2023.12.12**: ✨ DemoFusion with ControNet is availabe now! Check it out at `pipeline_demofusion_sdxl_controlnet`! The local [Gradio Demo](https://github.com/PRIS-CV/DemoFusion#DemoFusionControlNet-with-local-Gradio-demo) is also available. diff --git a/pipeline_demofusion_sdxl.py b/pipeline_demofusion_sdxl.py index d6c0aea..a03d2cc 100644 --- a/pipeline_demofusion_sdxl.py +++ b/pipeline_demofusion_sdxl.py @@ -52,7 +52,7 @@ if is_invisible_watermark_available(): - from .watermark import StableDiffusionXLWatermarker + from diffusers.pipelines.stable_diffusion_xl.watermark import StableDiffusionXLWatermarker logger = logging.get_logger(__name__) # pylint: disable=invalid-name