diff --git a/index.html b/index.html
index c5dddae..9e8a123 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,4 @@
-
+
@@ -339,7 +339,7 @@
- v20240427.001
+ v20240807.001
-
+
@@ -612,3 +612,4 @@
+
diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js
index 5d23d73..f12ecf7 100644
--- a/js/ui/tool/dream.js
+++ b/js/ui/tool/dream.js
@@ -3339,6 +3339,7 @@ function addControlNetToAlwaysOnScripts(state, initCanvas, maskCanvas) {
//img2img?
state.alwayson_scripts.controlnet.args = [
{
+ enabled: true,
module: extensions.selectedControlNetModule,
model: extensions.selectedControlNetModel,
control_mode: document.getElementById("controlNetMode-select").value,
@@ -3351,10 +3352,11 @@ function addControlNetToAlwaysOnScripts(state, initCanvas, maskCanvas) {
} else {
state.alwayson_scripts.controlnet.args = [
{
+ enabled: true,
module: extensions.selectedControlNetModule,
model: extensions.selectedControlNetModel,
control_mode: document.getElementById("controlNetMode-select").value,
- input_image: initimg, //initCanvas.toDataURL(),
+ image: initimg, //initCanvas.toDataURL(),
mask: maskimg, //maskCanvas.toDataURL(),
processor_res: 64,
resize_mode: document.getElementById("controlNetResize-select").value,
diff --git a/test.html b/test.html
new file mode 100644
index 0000000..c81589d
--- /dev/null
+++ b/test.html
@@ -0,0 +1,9 @@
+
+
+ Test
+
+
+ Test
+ Test
+
+