Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kijai committed Dec 3, 2024
1 parent 73b49a3 commit fa45b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hyvideo/modules/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ def forward(
vec = self.time_in(t)

# text modulation
vec = vec + self.vector_in(text_states_2)
if text_states_2 is not None:
vec = vec + self.vector_in(text_states_2)

# guidance modulation
if self.guidance_embed:
Expand Down

0 comments on commit fa45b71

Please sign in to comment.