Skip to content

Commit

Permalink
doc: Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
DiligentCatCat committed Jun 13, 2023
1 parent 38fa0b7 commit 1ac091d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example_modules/demo_modules/stable_diffusion.module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 1ac091d

Please sign in to comment.