Fixed T2IAdvanced trying to copy itself as a ControlLoraAdvanced

This commit is contained in:
Jedrzej Kosinski
2023-11-29 11:53:05 -06:00
parent 583d2c59b7
commit db7c535dc6
+1 -1
View File
@@ -643,7 +643,7 @@ class T2IAdapterAdvanced(T2IAdapter, AdvancedControlBase):
del full_cond_hint_original
def copy(self):
c = ControlLoraAdvanced(self.t2i_model, self.timestep_keyframes, self.channels_in)
c = T2IAdapterAdvanced(self.t2i_model, self.timestep_keyframes, self.channels_in)
self.copy_to(c)
self.copy_to_advanced(c)
return c