fix is_hotshot (#453)

pull/458/head^2
Chengsong Zhang 2024-03-07 00:14:17 -06:00 committed by GitHub
parent c92c72b5e5
commit 12a503b8b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,10 @@ class MotionWrapper(nn.Module):
def is_adxl(self):
return self.mm_type == MotionModuleType.AnimateDiffXL
@property
def is_hotshot(self):
return self.mm_type == MotionModuleType.HotShotXL
@property
def is_v2(self):