Update examples (#2921)
parent
59c43499ea
commit
7b4cdea2a4
|
|
@ -66,7 +66,7 @@ img2img_payload = {
|
||||||
"ControlNet": {
|
"ControlNet": {
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"control_mode": 0,
|
"control_mode": "Balanced",
|
||||||
"enabled": True,
|
"enabled": True,
|
||||||
"guidance_end": 1,
|
"guidance_end": 1,
|
||||||
"guidance_start": 0,
|
"guidance_start": 0,
|
||||||
|
|
@ -75,7 +75,7 @@ img2img_payload = {
|
||||||
"module": "inpaint_only",
|
"module": "inpaint_only",
|
||||||
"pixel_perfect": True,
|
"pixel_perfect": True,
|
||||||
"processor_res": 512,
|
"processor_res": 512,
|
||||||
"resize_mode": 1,
|
"resize_mode": "Crop and Resize",
|
||||||
"threshold_a": 64,
|
"threshold_a": 64,
|
||||||
"threshold_b": 64,
|
"threshold_b": 64,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|
|
||||||
|
|
@ -37,14 +37,14 @@ class ControlnetRequest:
|
||||||
"model": "canny",
|
"model": "canny",
|
||||||
"weight": 1.0,
|
"weight": 1.0,
|
||||||
"image": self.read_image(),
|
"image": self.read_image(),
|
||||||
"resize_mode": 1,
|
"resize_mode": "Crop and Resize",
|
||||||
"lowvram": False,
|
"lowvram": False,
|
||||||
"processor_res": 64,
|
"processor_res": 64,
|
||||||
"threshold_a": 64,
|
"threshold_a": 64,
|
||||||
"threshold_b": 64,
|
"threshold_b": 64,
|
||||||
"guidance_start": 0.0,
|
"guidance_start": 0.0,
|
||||||
"guidance_end": 1.0,
|
"guidance_end": 1.0,
|
||||||
"control_mode": 0,
|
"control_mode": "Balanced",
|
||||||
"pixel_perfect": False
|
"pixel_perfect": False
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue