1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Fix missing variable.

This commit is contained in:
comfyanonymous
2023-02-25 12:19:03 -05:00
parent 1144ed5792
commit d2da346b0b

View File

@@ -535,6 +535,7 @@ class T2IAdapter:
output_dtype = x_noisy.dtype
out = {'input':[]}
autocast_enabled = torch.is_autocast_enabled()
for i in range(len(self.control_input)):
key = 'input'
x = self.control_input[i] * self.strength