MCPcopy Create free account
hub / github.com/Kosinkadink/ComfyUI-Advanced-ControlNet / copy

Method copy

adv_control/control.py:230–234  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

228 if self.sub_idxs is not None:
229 # replace original cond hint
230 self.cond_hint_original = full_cond_hint_original
231 del full_cond_hint_original
232
233 def copy(self):
234 c = T2IAdapterAdvanced(self.t2i_model, self.timestep_keyframes, self.channels_in, self.compression_ratio, self.upscale_algorithm)
235 self.copy_to(c)
236 self.copy_to_advanced(c)
237 return c

Callers

nothing calls this directly

Calls 2

T2IAdapterAdvancedClass · 0.85
copy_to_advancedMethod · 0.80

Tested by

no test coverage detected