You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
image0 = Image.open("C:\city.pang")
unit1 = webuiapi.ControlNetUnit(input_image=image0, module='canny', model='control_canny-fp16 [e3fe7712]')
But it shows an error TypeError: Object of type PngImageFile is not JSON serializable
How to get the right input image format?
The text was updated successfully, but these errors were encountered:
image0 = Image.open("C:\city.pang")
unit1 = webuiapi.ControlNetUnit(input_image=image0, module='canny', model='control_canny-fp16 [e3fe7712]')
But it shows an error TypeError: Object of type PngImageFile is not JSON serializable
How to get the right input image format?
The text was updated successfully, but these errors were encountered: