Fabrice-TIERCELIN commited on
Commit
9d19cf4
·
verified ·
1 Parent(s): 985a4fc

#return hunyuan_video_sampler

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,10 +43,10 @@ def initialize_model(model_path):
43
  print(f"`models_root` exists: {models_root_path}")
44
  hunyuan_video_sampler = HunyuanVideoSampler.from_pretrained(models_root_path, args=args)
45
  print("Model initialized: " + model_path)
46
- return hunyuan_video_sampler
 
47
 
48
- #model = initialize_model("ckpts")
49
- model = None
50
 
51
  def generate_video(
52
  prompt,
 
43
  print(f"`models_root` exists: {models_root_path}")
44
  hunyuan_video_sampler = HunyuanVideoSampler.from_pretrained(models_root_path, args=args)
45
  print("Model initialized: " + model_path)
46
+ #return hunyuan_video_sampler
47
+ return None
48
 
49
+ model = initialize_model("ckpts")
 
50
 
51
  def generate_video(
52
  prompt,