Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def get_frame_count_in_duration(filepath, duration):
|
|
| 28 |
|
| 29 |
def run_inference(prompt, video_path, condition, video_length):
|
| 30 |
# Call the function to get the video properties
|
| 31 |
-
video_length =
|
| 32 |
print(video_length)
|
| 33 |
#video_length = int(video_length * fps)
|
| 34 |
output_path = 'output/'
|
|
|
|
| 28 |
|
| 29 |
def run_inference(prompt, video_path, condition, video_length):
|
| 30 |
# Call the function to get the video properties
|
| 31 |
+
video_length = get_frame_count_in_duration(video_path, video_length)
|
| 32 |
print(video_length)
|
| 33 |
#video_length = int(video_length * fps)
|
| 34 |
output_path = 'output/'
|