* ini

* remove shit

* Create control_model.py

* i

* i

* Update controlnet_supported.py

* Update controlnet_supported.py

* Update controlnet_supported.py

* i

* i

* Update controlnet_supported.py

* i

* Update controlnet_supported.py

* remove shits

* remove shit

* Update global_state.py

* i

* i

* Update legacy_preprocessors.py

* Update legacy_preprocessors.py

* remove shit

* Update batch_hijack.py

* remove shit

* remove shit

* i

* i

* i

* Update external_code.py

* Update global_state.py

* Update infotext.py

* Update utils.py

* Update external_code.py

* i

* i

* i

* Update controlnet_ui_group.py

* remove shit

* remove shit

* i

* Update controlnet.py

* Update controlnet.py

* Update controlnet.py

* Update controlnet.py

* Update controlnet.py

* i

* Update global_state.py

* Update global_state.py

* i

* Update global_state.py

* Update global_state.py

* Update global_state.py

* Update global_state.py

* Update controlnet_ui_group.py

* i

* Update global_state.py

* Update controlnet_ui_group.py

* Update controlnet_ui_group.py

* i

* Update controlnet_ui_group.py

* Update controlnet_ui_group.py

* Update controlnet_ui_group.py

* Update controlnet_ui_group.py
This commit is contained in:
lllyasviel
2024-01-29 14:25:03 -08:00
committed by GitHub
parent 7ef96eeffa
commit ac374e0b97
35 changed files with 7483 additions and 106 deletions

View File

@@ -5,7 +5,7 @@ import gradio as gr
from modules import scripts
from modules.shared_cmd_options import cmd_opts
from modules_forge.shared import shared_preprocessors
from modules_forge.shared import supported_preprocessors
from modules.modelloader import load_file_from_url
from ldm_patched.modules.controlnet import load_controlnet
from modules_forge.controlnet import apply_controlnet_advanced
@@ -73,7 +73,7 @@ class ControlNetExampleForge(scripts.Script):
width = W * 8
batch_size = p.batch_size
preprocessor = shared_preprocessors['canny']
preprocessor = supported_preprocessors['canny']
# detect control at certain resolution
control_image = preprocessor(