Skip to content

Commit a872e84

Browse files
committed
remove unintentional change from merge conflict
1 parent da88c33 commit a872e84

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/hooks/hooks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ def get_hook(self, name: str) -> Optional[ModelHook]:
177177
return self.hooks.get(name, None)
178178

179179
def remove_hook(self, name: str, recurse: bool = True) -> None:
180-
num_hooks = len(self._hook_order)
181180
if name in self.hooks.keys():
182181
num_hooks = len(self._hook_order)
183182
hook = self.hooks[name]

0 commit comments

Comments
 (0)