Closed TimNekk closed 7 months ago
result1 = api.img2img( ... adetailer=[webuiapi.ADetailer()], ) result2 = api.img2img( ... adetailer=[], )
ADetailer will be applied only for result1.
result1
ADetailer will be applied for both result1 and result2. Actually it will be applied every time if it was used once.
result2
Using False as a first arg if ADetailer instances are not passed. Source: ADetailer API Wiki
False
ADetailer
Expected Behavior
ADetailer will be applied only for
result1
.Current Behavior
ADetailer will be applied for both
result1
andresult2
. Actually it will be applied every time if it was used once.Solution
Using
False
as a first arg ifADetailer
instances are not passed. Source: ADetailer API Wiki