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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)