da03 commited on
Commit
f0e8a7a
·
1 Parent(s): 32367a7
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -8,6 +8,7 @@ from huggingface_hub import hf_hub_download
8
  import json
9
  import os
10
  import time
 
11
 
12
  def load_model_from_config(config_path, model_name, device='cuda'):
13
  # Load the config file
@@ -64,7 +65,6 @@ def sample_frame(model: LatentDiffusion, prompt: str, image_sequence: torch.Tens
64
  DDPM = False
65
  DDPM = True
66
 
67
- DEBUG = True
68
  if DEBUG:
69
  #c['c_concat'] = c['c_concat']*0
70
  print ('utils prompt', prompt, c['c_concat'].shape, c.keys())
 
8
  import json
9
  import os
10
  import time
11
+ DEBUG = True
12
 
13
  def load_model_from_config(config_path, model_name, device='cuda'):
14
  # Load the config file
 
65
  DDPM = False
66
  DDPM = True
67
 
 
68
  if DEBUG:
69
  #c['c_concat'] = c['c_concat']*0
70
  print ('utils prompt', prompt, c['c_concat'].shape, c.keys())