Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def run_inference(prompt, video_path, condition, video_length, seed, steps):
|
|
145 |
|
146 |
# Get FPS of original video input
|
147 |
original_fps = get_video_dimension(video_path)[2]
|
148 |
-
if
|
149 |
print(f"FPS is too high: {original_fps}")
|
150 |
target_fps = 12
|
151 |
print(f"NEW INPUT FPS: {target_fps}, NEW LENGTH: {video_length}")
|
|
|
145 |
|
146 |
# Get FPS of original video input
|
147 |
original_fps = get_video_dimension(video_path)[2]
|
148 |
+
if original_fps > 12 :
|
149 |
print(f"FPS is too high: {original_fps}")
|
150 |
target_fps = 12
|
151 |
print(f"NEW INPUT FPS: {target_fps}, NEW LENGTH: {video_length}")
|