Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -793,10 +793,7 @@ def generate_video(
|
|
| 793 |
temp_last_path = Path(last_image)
|
| 794 |
images.append(ImageConditioningInput(path=str(temp_last_path), frame_idx=num_frames - 1, strength=1.0))
|
| 795 |
|
| 796 |
-
tiling_config = TilingConfig(
|
| 797 |
-
spatial_config=None, # Disable spatial tiling — decode full H×W at once
|
| 798 |
-
temporal_config=None, # Disable temporal tiling — decode all frames at once
|
| 799 |
-
)
|
| 800 |
video_chunks_number = get_video_chunks_number(num_frames, tiling_config)
|
| 801 |
|
| 802 |
video_guider_params = MultiModalGuiderParams(
|
|
|
|
| 793 |
temp_last_path = Path(last_image)
|
| 794 |
images.append(ImageConditioningInput(path=str(temp_last_path), frame_idx=num_frames - 1, strength=1.0))
|
| 795 |
|
| 796 |
+
tiling_config = TilingConfig.default()
|
|
|
|
|
|
|
|
|
|
| 797 |
video_chunks_number = get_video_chunks_number(num_frames, tiling_config)
|
| 798 |
|
| 799 |
video_guider_params = MultiModalGuiderParams(
|