akhaliq HF staff commited on
Commit
addc0ec
1 Parent(s): beb9035

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -45,6 +45,7 @@ def apply_mask(image, mask, color, transparency=0.7):
45
  return out_image
46
 
47
  def process(text_query, full_video_path):
 
48
  start_pt, end_pt = 0, 1
49
  full_video = VideoFileClip(full_video_path)
50
  subclip = full_video.subclip(start_pt, min(full_video.duration, end_pt))
 
45
  return out_image
46
 
47
  def process(text_query, full_video_path):
48
+ input_clip_path = '/tmp/input.mp4'
49
  start_pt, end_pt = 0, 1
50
  full_video = VideoFileClip(full_video_path)
51
  subclip = full_video.subclip(start_pt, min(full_video.duration, end_pt))