Spaces:
Runtime error
Runtime error
A minor fix
Browse files
model.py
CHANGED
@@ -485,14 +485,14 @@ class Model:
|
|
485 |
t1=t1,
|
486 |
motion_field_strength_x=motion_field_strength_x,
|
487 |
motion_field_strength_y=motion_field_strength_y,
|
488 |
-
use_motion_field=use_motion_field,
|
489 |
smooth_bg=smooth_bg,
|
490 |
smooth_bg_strength=smooth_bg_strength,
|
491 |
seed=seed,
|
492 |
output_type='numpy',
|
493 |
negative_prompt=negative_prompt,
|
494 |
-
merging_ratio=merging_ratio,
|
495 |
-
split_to_chunks=True,
|
496 |
-
chunk_size=chunk_size,
|
497 |
)
|
498 |
return utils.create_video(result, fps, path=path, watermark=gradio_utils.logo_name_to_path(watermark))
|
|
|
485 |
t1=t1,
|
486 |
motion_field_strength_x=motion_field_strength_x,
|
487 |
motion_field_strength_y=motion_field_strength_y,
|
488 |
+
# use_motion_field=use_motion_field,
|
489 |
smooth_bg=smooth_bg,
|
490 |
smooth_bg_strength=smooth_bg_strength,
|
491 |
seed=seed,
|
492 |
output_type='numpy',
|
493 |
negative_prompt=negative_prompt,
|
494 |
+
# merging_ratio=merging_ratio,
|
495 |
+
# split_to_chunks=True,
|
496 |
+
# chunk_size=chunk_size,
|
497 |
)
|
498 |
return utils.create_video(result, fps, path=path, watermark=gradio_utils.logo_name_to_path(watermark))
|