fffiloni commited on
Commit
c8ec7d9
·
1 Parent(s): c05f3f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = get_video_properties(video_path, 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/'