mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-29 10:41:14 +00:00
Forge webui support (#517)
* Forge support * Separate Forge implementation * Remove debug print
This commit is contained in:
@@ -1,7 +1,21 @@
|
||||
from .controlnet_ext import ControlNetExt, controlnet_exists, get_cn_models
|
||||
try:
|
||||
from .controlnet_ext_forge import (
|
||||
ControlNetExt,
|
||||
controlnet_exists,
|
||||
controlnet_forge,
|
||||
get_cn_models,
|
||||
)
|
||||
except ImportError:
|
||||
from .controlnet_ext import (
|
||||
ControlNetExt,
|
||||
controlnet_exists,
|
||||
controlnet_forge,
|
||||
get_cn_models,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"ControlNetExt",
|
||||
"controlnet_exists",
|
||||
"controlnet_forge",
|
||||
"get_cn_models",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user