From 1ac091db20c9713c14132f9c9730072c5ad09e65 Mon Sep 17 00:00:00 2001 From: DiligentCatCat Date: Tue, 13 Jun 2023 12:30:35 +0800 Subject: [PATCH] doc: Add todo --- example_modules/demo_modules/stable_diffusion.module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/example_modules/demo_modules/stable_diffusion.module.py b/example_modules/demo_modules/stable_diffusion.module.py index b9cabaa..9b1261a 100644 --- a/example_modules/demo_modules/stable_diffusion.module.py +++ b/example_modules/demo_modules/stable_diffusion.module.py @@ -24,6 +24,7 @@ def reg_or_not(): logger.warn("'STABLE_DIFFUSION_URL' is not provided, stable_diffusion function will not available") return + # TODO: Remove support for 'http://xxxx/sdapi/v1' if stable_diffusion_address.endswith('/sdapi/v1') or stable_diffusion_address.endswith('/sdapi/v1/'): logger.warn("'STABLE_DIFFUSION_URL' is expected to be something like: http://host[:port], " "the form 'http://host[:port]/sdapi/v1' will be deprecated in the future.")