Spaces:
Runtime error
Runtime error
#return hunyuan_video_sampler
Browse files
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 |
-
|
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,
|