ack controlnet deprecated their input_image param like 2 months ago and broke my terrible impelementation ha ha ha
This commit is contained in:
parent
b2dab98a59
commit
70d7a5ce5c
3 changed files with 16 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
@ -339,7 +339,7 @@
|
||||||
<br />
|
<br />
|
||||||
<span id="version">
|
<span id="version">
|
||||||
<a href="https://github.com/zero01101/openOutpaint" target="_blank">
|
<a href="https://github.com/zero01101/openOutpaint" target="_blank">
|
||||||
v20240427.001
|
v20240807.001
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<a
|
<a
|
||||||
|
@ -576,7 +576,7 @@
|
||||||
src="js/ui/tool/generic.js?v=3e678e0"
|
src="js/ui/tool/generic.js?v=3e678e0"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
|
||||||
<script src="js/ui/tool/dream.js?v=56c7c50" type="text/javascript"></script>
|
<script src="js/ui/tool/dream.js?v=9ae0612" type="text/javascript"></script>
|
||||||
<script
|
<script
|
||||||
src="js/ui/tool/maskbrush.js?v=e9bd0eb"
|
src="js/ui/tool/maskbrush.js?v=e9bd0eb"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
@ -612,3 +612,4 @@
|
||||||
<script src="js/webui.js?v=ccd423a" type="text/javascript"></script>
|
<script src="js/webui.js?v=ccd423a" type="text/javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -3339,6 +3339,7 @@ function addControlNetToAlwaysOnScripts(state, initCanvas, maskCanvas) {
|
||||||
//img2img?
|
//img2img?
|
||||||
state.alwayson_scripts.controlnet.args = [
|
state.alwayson_scripts.controlnet.args = [
|
||||||
{
|
{
|
||||||
|
enabled: true,
|
||||||
module: extensions.selectedControlNetModule,
|
module: extensions.selectedControlNetModule,
|
||||||
model: extensions.selectedControlNetModel,
|
model: extensions.selectedControlNetModel,
|
||||||
control_mode: document.getElementById("controlNetMode-select").value,
|
control_mode: document.getElementById("controlNetMode-select").value,
|
||||||
|
@ -3351,10 +3352,11 @@ function addControlNetToAlwaysOnScripts(state, initCanvas, maskCanvas) {
|
||||||
} else {
|
} else {
|
||||||
state.alwayson_scripts.controlnet.args = [
|
state.alwayson_scripts.controlnet.args = [
|
||||||
{
|
{
|
||||||
|
enabled: true,
|
||||||
module: extensions.selectedControlNetModule,
|
module: extensions.selectedControlNetModule,
|
||||||
model: extensions.selectedControlNetModel,
|
model: extensions.selectedControlNetModel,
|
||||||
control_mode: document.getElementById("controlNetMode-select").value,
|
control_mode: document.getElementById("controlNetMode-select").value,
|
||||||
input_image: initimg, //initCanvas.toDataURL(),
|
image: initimg, //initCanvas.toDataURL(),
|
||||||
mask: maskimg, //maskCanvas.toDataURL(),
|
mask: maskimg, //maskCanvas.toDataURL(),
|
||||||
processor_res: 64,
|
processor_res: 64,
|
||||||
resize_mode: document.getElementById("controlNetResize-select").value,
|
resize_mode: document.getElementById("controlNetResize-select").value,
|
||||||
|
|
9
test.html
Normal file
9
test.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Test</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Test</h1>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue