Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,6 +30,7 @@ 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/'
|
| 35 |
os.makedirs(output_path, exist_ok=True)
|
|
|
|
| 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)
|
| 34 |
#video_length = int(video_length * fps)
|
| 35 |
output_path = 'output/'
|
| 36 |
os.makedirs(output_path, exist_ok=True)
|