vilarin commited on
Commit
16a8242
·
verified ·
1 Parent(s): bf8e40d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ class ModelWrapper:
140
  )
141
 
142
  unet_added_conditions = {
143
- "time_ids": add_time_ids.torch.float32,
144
  "text_embeds": batch_pooled_prompt_embeds.squeeze(1)
145
  }
146
 
 
140
  )
141
 
142
  unet_added_conditions = {
143
+ "time_ids": add_time_ids.to(torch.float32),
144
  "text_embeds": batch_pooled_prompt_embeds.squeeze(1)
145
  }
146