vilarin commited on
Commit
de3ea81
1 Parent(s): 5e2e591

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,7 +92,7 @@ class ModelWrapper:
92
 
93
  #noise = noise.to(torch.float16)
94
  print(f'noise: {noise.dtype}')
95
- prompt_embed = prompt_embed.to(torch.float32)
96
  DTYPE = prompt_embed.dtype
97
  print(f'prompt_embed: {DTYPE}')
98
 
@@ -140,7 +140,7 @@ class ModelWrapper:
140
  )
141
 
142
  unet_added_conditions = {
143
- "time_ids": add_time_ids,
144
  "text_embeds": batch_pooled_prompt_embeds.squeeze(1)
145
  }
146
 
 
92
 
93
  #noise = noise.to(torch.float16)
94
  print(f'noise: {noise.dtype}')
95
+ #prompt_embed = prompt_embed.to(torch.float32)
96
  DTYPE = prompt_embed.dtype
97
  print(f'prompt_embed: {DTYPE}')
98
 
 
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