Files
Igor Aherne 4dc36268c2 bugfix: controlnet works in API - image no longer a dictionary (#1425)
Generating from browser works with controlnet.
Generating via API wasn't.
This is because from_dict() was making 'image' and 'mask_image' a dictionary.

In 'controlnet.py' function 'get_input_data' this would cause the following check to throw exception because used to be an incorrect type:

elif (unit_image < 5).all() and (unit_image_fg > 5).any():

Now, they are never a dictionary and check is fine
2024-08-22 21:50:33 -07:00
..
2024-08-03 15:54:39 -07:00
2024-02-06 12:54:35 -06:00
2024-01-29 14:25:03 -08:00
2024-01-29 14:25:03 -08:00
2024-08-05 04:21:35 -07:00